[Pkg-wmaker-commits] [wmbiff] 39/77: bugfix to sigchld_handler (argh)

Doug Torrance dtorrance-guest at moszumanska.debian.org
Thu Aug 20 03:01:10 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to tag wmbiff_0_4_0
in repository wmbiff.

commit d75f7343bb45e06eac266c07d6b1c5988d972682
Author: bluehal <bluehal>
Date:   Mon Apr 15 21:06:29 2002 +0000

    bugfix to sigchld_handler (argh)
---
 wmbiff/wmbiff.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/wmbiff/wmbiff.c b/wmbiff/wmbiff.c
index 94ec545..dc92d76 100644
--- a/wmbiff/wmbiff.c
+++ b/wmbiff/wmbiff.c
@@ -1,4 +1,4 @@
-/* $Id: wmbiff.c,v 1.23 2002/04/15 02:21:22 bluehal Exp $ */
+/* $Id: wmbiff.c,v 1.24 2002/04/15 21:06:29 bluehal Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
@@ -738,7 +738,7 @@ void XSleep(int millisec)
 
 void sigchld_handler(int sig __attribute__ ((unused)))
 {
-	while (waitpid(0, NULL, WNOHANG));
+	while (waitpid(0, NULL, WNOHANG) > 0);
 	signal(SIGCHLD, sigchld_handler);
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbiff.git



More information about the Pkg-wmaker-commits mailing list