mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-14 08:16:24 +01:00
Bug 554970 â segfault when update-desktop-database is not available
2008-10-05 Pascal Terjan <pterjan@linuxfr.org> Bug 554970 â segfault when update-desktop-database is not available on the system * gdesktopappinfo.c (run_update_command): Have the error set before using it. svn path=/trunk/; revision=7570
This commit is contained in:
parent
aa7e065688
commit
d8b489853c
@ -1,3 +1,11 @@
|
|||||||
|
2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
|
||||||
|
|
||||||
|
Bug 554970 – segfault when update-desktop-database is not available
|
||||||
|
on the system
|
||||||
|
|
||||||
|
* gdesktopappinfo.c (run_update_command): Have the error set before
|
||||||
|
using it.
|
||||||
|
|
||||||
2008-10-01 David Zeuthen <davidz@redhat.com>
|
2008-10-01 David Zeuthen <davidz@redhat.com>
|
||||||
|
|
||||||
* gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
|
* gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
|
||||||
|
@ -1400,7 +1400,7 @@ run_update_command (char *command,
|
|||||||
G_SPAWN_DO_NOT_REAP_CHILD,
|
G_SPAWN_DO_NOT_REAP_CHILD,
|
||||||
NULL, NULL, /* No setup function */
|
NULL, NULL, /* No setup function */
|
||||||
&pid,
|
&pid,
|
||||||
NULL))
|
&error))
|
||||||
g_child_watch_add (pid, update_program_done, NULL);
|
g_child_watch_add (pid, update_program_done, NULL);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user