Modified: trunk/base/src/darwintracelib1.0/darwintrace.c (105626 => 105627)
--- trunk/base/src/darwintracelib1.0/darwintrace.c 2013-04-28 09:14:29 UTC (rev 105626)
+++ trunk/base/src/darwintracelib1.0/darwintrace.c 2013-04-28 11:31:34 UTC (rev 105627)
@@ -1089,20 +1089,20 @@
#pragma pack(4)
struct dirent32 {
- ino_t d_ino; /* file number of entry */
- __uint16_t d_reclen; /* length of this record */
- __uint8_t d_type; /* file type, see below */
- __uint8_t d_namlen; /* length of string in d_name */
- char d_name[__DARWIN_MAXNAMLEN + 1]; /* name must be no longer than this */
+ ino_t d_ino; /* file number of entry */
+ __uint16_t d_reclen; /* length of this record */
+ __uint8_t d_type; /* file type */
+ __uint8_t d_namlen; /* length of string in d_name */
+ char d_name[__DARWIN_MAXNAMLEN + 1]; /* name must be no longer than this */
};
#pragma pack()
struct dirent64 {
__uint64_t d_ino; /* file number of entry */
- __uint64_t d_seekoff; /* seek offset (optional, used by servers) */
+ __uint64_t d_seekoff; /* seek offset */
__uint16_t d_reclen; /* length of this record */
__uint16_t d_namlen; /* length of string in d_name */
- __uint8_t d_type; /* file type, see below */
+ __uint8_t d_type; /* file type */
char d_name[__DARWIN_MAXPATHLEN]; /* entry name (up to MAXPATHLEN bytes) */
};