glib r7570 - trunk/gio



Author: pterjan
Date: Sun Oct  5 00:33:43 2008
New Revision: 7570
URL: http://svn.gnome.org/viewvc/glib?rev=7570&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:
   trunk/gio/ChangeLog
   trunk/gio/gdesktopappinfo.c

Modified: trunk/gio/gdesktopappinfo.c
==============================================================================
--- trunk/gio/gdesktopappinfo.c	(original)
+++ trunk/gio/gdesktopappinfo.c	Sun Oct  5 00:33:43 2008
@@ -1400,7 +1400,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]