Revision
112642
Author
cal@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

Diff

Modified: trunk/base/src/darwintracelib1.0/darwintrace.c (112641 => 112642)


--- 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 */