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

cal at macports.org cal at macports.org
Mon Oct 28 11:59:19 PDT 2013


Revision: 112642
          https://trac.macports.org/changeset/112642
Author:   cal at macports.org
Date:     2013-10-28 11:59:19 -0700 (Mon, 28 Oct 2013)
Log Message:
-----------
darwintrace: fix build error introduced by last commit

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-10-28 18:57:30 UTC (rev 112641)
+++ trunk/base/src/darwintracelib1.0/darwintrace.c	2013-10-28 18:59:19 UTC (rev 112642)
@@ -873,8 +873,8 @@
 		strcpy(normpos, curpos);
 	}
 	if (*normalizedpath == '\0') {
-		*normalizedpath++ = '/';
-		*normalizedpath++ = '\0';
+		normalizedpath[0] = '/';
+		normalizedpath[1] = '\0';
 	}
 
 	/* Iterate over the sandbox bounds and try to find a directive matching this path */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131028/c63a7822/attachment.html>


More information about the macports-changes mailing list