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

rpms/rhgb/devel rhgb-0.16.2-kill-more-zombies.patch, NONE, 1.1 rhgb.spec, 1.32, 1.33



Author: rstrode

Update of /cvs/dist/rpms/rhgb/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv23203

Modified Files:
	rhgb.spec 
Added Files:
	rhgb-0.16.2-kill-more-zombies.patch 
Log Message:
- Peter Jones <pjones redhat com> found some zombie chvt processes.


rhgb-0.16.2-kill-more-zombies.patch:
 main.c |   15 ++++-----------
 1 files changed, 4 insertions(+), 11 deletions(-)

--- NEW FILE rhgb-0.16.2-kill-more-zombies.patch ---
--- rhgb-0.16.2/src/main.c.kill-more-zombies	2005-11-21 14:22:00.000000000 -0500
+++ rhgb-0.16.2/src/main.c	2005-11-21 14:22:20.000000000 -0500
@@ -198,7 +198,6 @@
         kill(child_pid, SIGKILL);
 	if (vt > 0)
 	    switch_to_vt(vt);
-        waitpid(child_pid, NULL, 0);
 	if (vt > 0)
 	    switch_to_vt(vt);
 	child_pid = 0;
@@ -505,10 +504,7 @@
 {
   /* Do something */
   if (child_pid > 0)
-    {
-      kill (child_pid, SIGTERM);
-      waitpid (child_pid, NULL, 0);
-    }
+    kill (child_pid, SIGTERM);
   close(socket_fd);
   close(pipe_fd);
   unlink(SOCKET_NAME);
@@ -608,8 +604,7 @@
   virtual_console_init ();
 
   g_spawn_async ("/", argv, NULL,
-		 G_SPAWN_DO_NOT_REAP_CHILD,
-		 NULL, NULL, &child_pid, NULL);
+		 0, NULL, NULL, &child_pid, NULL);
   g_strfreev (argv);
   fd = open(DISPLAY_FNAME, O_WRONLY | O_CREAT , 0644);
   if (fd >= 0) {
@@ -643,8 +638,7 @@
 		      NULL);
 
   g_spawn_async ("/", argv, NULL,
-		 G_SPAWN_DO_NOT_REAP_CHILD,
-		 NULL, NULL, &child_pid, NULL);
+		 0, NULL, NULL, &child_pid, NULL);
   g_strfreev (argv);
   fd = open(DISPLAY_FNAME, O_WRONLY | O_CREAT , 0644);
   if (fd >= 0) {
@@ -716,8 +710,7 @@
 			  };
 			  argv[3] = lang;
 			  g_spawn_async(NULL, &argv[0], NULL, 
-			                G_SPAWN_DO_NOT_REAP_CHILD, NULL,
-			                NULL, NULL, NULL);
+			                0, NULL, NULL, NULL, NULL);
 		          g_free(lang);
 		      }
 


Index: rhgb.spec
===================================================================
RCS file: /cvs/dist/rpms/rhgb/devel/rhgb.spec,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- rhgb.spec	14 Nov 2005 04:02:44 -0000	1.32
+++ rhgb.spec	21 Nov 2005 19:29:35 -0000	1.33
@@ -3,7 +3,7 @@
 Summary: Red Hat Graphical Boot
 Name: rhgb
 Version: 0.16.2
-Release: 12
+Release: 13
 URL: http://www.redhat.com/
 Source0: %{name}-%{version}.tar.gz
 License: GPL
@@ -20,6 +20,7 @@
 Patch3: rhgb-0.16.2-drop-internal-gtk-expander.patch
 Patch4: rhgb-0.16.2-dont-fight-the-user.patch
 Patch5: rhgb-modularx.patch
+Patch6: rhgb-0.16.2-kill-more-zombies.patch
 
 %description
 Red Hat Graphical Boot provides a clean and simple interface to the boot process
@@ -32,6 +33,7 @@
 %patch3 -p1 -b .drop-internal-gtk-expander
 %patch4 -p1 -b .dont-fight-the-user
 %patch5 -p1 -b .modularx
+%patch6 -p1 -b .kill-more-zombies
 
 %build
 %configure
@@ -56,6 +58,9 @@
 %doc doc/HOW_IT_WORKS
 
 %changelog
+* Mon Nov 21 2005 Ray Strode <rstrode redhat com> 0.16.2-13
+- Peter Jones <pjones redhat com> found some zombie chvt processes.
+
 * Sun Nov 13 2005 Jeremy Katz <katzj redhat com> - 0.16.2-12
 - fix fontpath for modular x
 


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