Modified: branches/PR-10431324/darwintrace/darwintrace.c (978 => 979)
--- 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",