[maemo-commits] [maemo-commits] r15525 - in projects/haf/trunk/maemo-launcher: . launcher

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Thu May 8 13:44:40 EEST 2008
Author: guillem
Date: 2008-05-08 13:44:39 +0300 (Thu, 08 May 2008)
New Revision: 15525

Modified:
   projects/haf/trunk/maemo-launcher/ChangeLog
   projects/haf/trunk/maemo-launcher/launcher/launcher.c
Log:
Reset pid at the beginning of child_destroy


Modified: projects/haf/trunk/maemo-launcher/ChangeLog
===================================================================
--- projects/haf/trunk/maemo-launcher/ChangeLog	2008-05-08 10:44:23 UTC (rev 15524)
+++ projects/haf/trunk/maemo-launcher/ChangeLog	2008-05-08 10:44:39 UTC (rev 15525)
@@ -1,5 +1,9 @@
 2008-05-05  Guillem Jover  <guillem.jover at nokia.com>
 
+	* launcher/launcher.c (child_destroy): Reset pid at the beginning.
+
+2008-05-05  Guillem Jover  <guillem.jover at nokia.com>
+
 	* configure.ac: Bump version to 0.29~.
 
 2008-04-27  Guillem Jover  <guillem.jover at nokia.com>

Modified: projects/haf/trunk/maemo-launcher/launcher/launcher.c
===================================================================
--- projects/haf/trunk/maemo-launcher/launcher/launcher.c	2008-05-08 10:44:23 UTC (rev 15524)
+++ projects/haf/trunk/maemo-launcher/launcher/launcher.c	2008-05-08 10:44:39 UTC (rev 15525)
@@ -381,11 +381,11 @@
 static void
 child_destroy(child_t *child)
 {
+  child->pid = 0;
   close(child->sock);
   child->sock = 0;
   free(child->name);
   child->name = NULL;
-  child->pid = 0;
 }
 
 static kindergarten_t *


More information about the maemo-commits mailing list