Revision: 105633 https://trac.macports.org/changeset/105633 Author: cal@macports.org Date: 2013-04-28 11:55:37 -0700 (Sun, 28 Apr 2013) Log Message: ----------- darwintrace: only handle getdirentries64 on systems with 64 bit inodes, should fix #38943 Modified Paths: -------------- trunk/base/src/darwintracelib1.0/darwintrace.c Modified: trunk/base/src/darwintracelib1.0/darwintrace.c =================================================================== --- trunk/base/src/darwintracelib1.0/darwintrace.c 2013-04-28 18:51:08 UTC (rev 105632) +++ trunk/base/src/darwintracelib1.0/darwintrace.c 2013-04-28 18:55:37 UTC (rev 105633) @@ -1087,6 +1087,8 @@ * other systems, and because other system's syscall names are probably * different anyway */ +#if defined(__DARWIN_64_BIT_INO_T) + struct dirent64 { __uint64_t d_ino; /* file number of entry */ __uint64_t d_seekoff; /* seek offset */ @@ -1133,6 +1135,8 @@ #undef __getdirentries64 } +#endif /* defined(__DARWIN_64_BIT_INO_T) */ + #pragma pack(4) struct dirent32 { ino_t d_ino; /* file number of entry */
participants (1)
-
cal@macports.org