[105633] trunk/base/src/darwintracelib1.0/darwintrace.c

cal at macports.org cal at macports.org
Sun Apr 28 11:55:37 PDT 2013


Revision: 105633
          https://trac.macports.org/changeset/105633
Author:   cal at 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 */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130428/541b4995/attachment.html>


More information about the macports-changes mailing list