mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-11 23:51:06 +00:00
Merge branch 'fix-ld-preload-syntax' into 'master'
Fix LD_PRELOAD syntax See merge request GNOME/sysprof!60
This commit is contained in:
@ -49,7 +49,7 @@ sysprof_memprof_source_modify_spawn (SysprofSource *source,
|
|||||||
else
|
else
|
||||||
sysprof_spawnable_setenv (spawnable,
|
sysprof_spawnable_setenv (spawnable,
|
||||||
"LD_PRELOAD",
|
"LD_PRELOAD",
|
||||||
(freeme = g_strdup_printf ("%s,%s", so_path, ld_preload)));
|
(freeme = g_strdup_printf ("%s:%s", so_path, ld_preload)));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
@ -56,7 +56,7 @@ sysprof_preload_source_modify_spawn (SysprofSource *source,
|
|||||||
else
|
else
|
||||||
sysprof_spawnable_setenv (spawnable,
|
sysprof_spawnable_setenv (spawnable,
|
||||||
"LD_PRELOAD",
|
"LD_PRELOAD",
|
||||||
(freeme = g_strdup_printf ("%s,%s", self->preload, ld_preload)));
|
(freeme = g_strdup_printf ("%s:%s", self->preload, ld_preload)));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user