glib r7569 - branches/glib-2-18/gio



Author: pterjan
Date: Sun Oct  5 00:31:00 2008
New Revision: 7569
URL: http://svn.gnome.org/viewvc/glib?rev=7569&view=rev

Log:
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.



Modified:
   branches/glib-2-18/gio/ChangeLog
   branches/glib-2-18/gio/gdesktopappinfo.c

Modified: branches/glib-2-18/gio/gdesktopappinfo.c
==============================================================================
--- branches/glib-2-18/gio/gdesktopappinfo.c	(original)
+++ branches/glib-2-18/gio/gdesktopappinfo.c	Sun Oct  5 00:31:00 2008
@@ -1322,7 +1322,7 @@
 			   G_SPAWN_DO_NOT_REAP_CHILD,
 			   NULL, NULL, /* No setup function */
 			   &pid,
-			   NULL)) 
+			   &error)) 
 	  g_child_watch_add (pid, update_program_done, NULL);
 	else
 	  {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]