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

jeremyhu at macports.org jeremyhu at macports.org
Sat Nov 16 14:54:57 PST 2013


Revision: 113469
          https://trac.macports.org/changeset/113469
Author:   jeremyhu at macports.org
Date:     2013-11-16 14:54:57 -0800 (Sat, 16 Nov 2013)
Log Message:
-----------
comment out dead code to fix build on Leopard

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-11-16 22:05:04 UTC (rev 113468)
+++ trunk/base/src/darwintracelib1.0/darwintrace.c	2013-11-16 22:54:57 UTC (rev 113469)
@@ -426,6 +426,7 @@
 	const char *realpath;
 
 	do {
+#if defined(__APPLE__) && defined(ATTR_CMN_FULLPATH) && 0
 		if (false && strncmp(path, "/.vol/", 6) == 0) {
 			// path in VOLFS, try to get inode -> name lookup from
 			// getattrlist(2).
@@ -450,6 +451,7 @@
 				break;
 			}
 		}
+#endif
 
 		if (*path != '/') {
 			if (!getcwd(pathbuf, sizeof(pathbuf))) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131116/4da3a67d/attachment-0001.html>


More information about the macports-changes mailing list