mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +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
|
||||
sysprof_spawnable_setenv (spawnable,
|
||||
"LD_PRELOAD",
|
||||
(freeme = g_strdup_printf ("%s,%s", so_path, ld_preload)));
|
||||
(freeme = g_strdup_printf ("%s:%s", so_path, ld_preload)));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
@ -56,7 +56,7 @@ sysprof_preload_source_modify_spawn (SysprofSource *source,
|
||||
else
|
||||
sysprof_spawnable_setenv (spawnable,
|
||||
"LD_PRELOAD",
|
||||
(freeme = g_strdup_printf ("%s,%s", self->preload, ld_preload)));
|
||||
(freeme = g_strdup_printf ("%s:%s", self->preload, ld_preload)));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user