mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-12-03 15:21:12 +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=/branches/glib-2-18/; revision=7569
This commit is contained in:
committed by
Pascal Terjan
parent
48c238a6e9
commit
106f91acd1
@@ -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-09-30 Tor Lillqvist <tml@novell.com>
|
2008-09-30 Tor Lillqvist <tml@novell.com>
|
||||||
|
|
||||||
* glocalfile.c (get_volume_for_path) [Win32]: Avoid a
|
* glocalfile.c (get_volume_for_path) [Win32]: Avoid a
|
||||||
|
|||||||
@@ -1322,7 +1322,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
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user