home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 6874 < prev    next >
Encoding:
Text File  |  1992-07-28  |  1.3 KB  |  30 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!infonode!ingr!b11!bluenote!tracy
  3. From: tracy@bluenote.b23b.ingr.com (Robert Tracy)
  4. Subject: stat with gcc-2.2.2
  5. Message-ID: <1992Jul28.155515.7968@b11.b11.ingr.com>
  6. Sender: usenet@b11.b11.ingr.com (Usenet Network)
  7. Reply-To: tracyre@infonode.ingr.com
  8. Organization: DAZIX, An Intergraph Company
  9. Date: Tue, 28 Jul 1992 15:55:15 GMT
  10. Lines: 18
  11.  
  12. When I call the stat function, it fills in the stat structure but the
  13. entries are shifted.  For example, the st_mode data is contained in
  14. the st_nlinks member, and so on.  I noticed in the stat.h file that
  15. there is some information about padding being added between some
  16. elements of the stat structure, and I suspect that this is causing the
  17. problem.  Is the stat function in the 2.2.2 version of libc compiled
  18. with or without the padding in the stat structure?
  19.  
  20. Please respond via email.
  21.  
  22. -- 
  23. ------------------------------------------------------------------------------
  24. Bob Tracy                    |
  25. DAZIX, An Intergraph Company |      "Do not speak for other people.
  26. Huntsville, Alabama          |       Speak for yourself."
  27. tracyre@infonode.ingr.com    |                         H.D. Thoreau
  28. 205/730-8588                 |
  29. ------------------------------------------------------------------------------
  30.