[darwinbuild-changes] [979] branches/PR-10431324/darwintrace/darwintrace.c
source_changes at macosforge.org
source_changes at macosforge.org
Thu Nov 10 22:26:24 PST 2011
Revision: 979
http://trac.macosforge.org/projects/darwinbuild/changeset/979
Author: kvv at apple.com
Date: 2011-11-10 22:26:24 -0800 (Thu, 10 Nov 2011)
Log Message:
-----------
logic bug.
Modified Paths:
--------------
branches/PR-10431324/darwintrace/darwintrace.c
Modified: branches/PR-10431324/darwintrace/darwintrace.c
===================================================================
--- branches/PR-10431324/darwintrace/darwintrace.c 2011-11-11 06:23:33 UTC (rev 978)
+++ branches/PR-10431324/darwintrace/darwintrace.c 2011-11-11 06:26:24 UTC (rev 979)
@@ -409,7 +409,8 @@
if (darwintrace_dylib_path) {
if (libs && strstr(libs, darwintrace_dylib_path)) {
/* inserted libraries already contain dylib */
- result[i] = strdup(DARWINTRACE_PLACEHOLDER);
+ asprintf(&result[i], "%s%s",
+ DYLD_INSERT_LIBRARIES, libs);
} else {
/* otherwise set or insert the dylib path */
asprintf(&result[i], "%s%s%s%s",
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20111110/259fe4be/attachment-0001.html>
More information about the darwinbuild-changes
mailing list