[darwinbuild-changes] [86] trunk/darwintrace/darwintrace.c

source_changes at macosforge.org source_changes at macosforge.org
Wed Oct 4 01:43:57 PDT 2006


Revision: 86
          http://trac.macosforge.org/projects/darwinbuild/changeset/86
Author:   kevin
Date:     2006-10-04 01:43:57 -0700 (Wed, 04 Oct 2006)

Log Message:
-----------
- fixed bug when volfs paths do not resolve (pguyot)

Modified Paths:
--------------
    trunk/darwintrace/darwintrace.c

Modified: trunk/darwintrace/darwintrace.c
===================================================================
--- trunk/darwintrace/darwintrace.c	2005-07-25 18:36:06 UTC (rev 85)
+++ trunk/darwintrace/darwintrace.c	2006-10-04 08:43:57 UTC (rev 86)
@@ -101,8 +101,10 @@
 #else
 		      size = snprintf(__darwintrace_buf, BUFFER_SIZE, "open\t%s\n", realpath );
 #endif
-		    }
+		    } else {
 		    /* if we can't resolve it, ignore the volfs path */
+				size = 0;
+			}
 		  } else {
 #if DARWINTRACE_SHOW_PROCESS
 		    size = snprintf(__darwintrace_buf, BUFFER_SIZE, "%s[%d]\topen\t%s\n", __darwintrace_progname, __darwintrace_pid, path );

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20061004/cc4b4e35/attachment-0001.html


More information about the darwinbuild-changes mailing list