From 916533bcea7a1d880d6ee0e9202909b2c30c796c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Wed, 19 Mar 2003 15:22:00 +0100
Subject: [PATCH] Fixed bug in use of wait4().

Rev: src/signal_handler.c:1.256
---
 src/signal_handler.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/signal_handler.c b/src/signal_handler.c
index d90c03e6d7..b33bc4778c 100644
--- a/src/signal_handler.c
+++ b/src/signal_handler.c
@@ -2,7 +2,7 @@
 || This file is part of Pike. For copyright information see COPYRIGHT.
 || Pike is distributed under GPL, LGPL and MPL. See the file COPYING
 || for more information.
-|| $Id: signal_handler.c,v 1.255 2003/03/18 17:34:03 grubba Exp $
+|| $Id: signal_handler.c,v 1.256 2003/03/19 14:22:00 grubba Exp $
 */
 
 #include "global.h"
@@ -26,7 +26,7 @@
 #include "main.h"
 #include <signal.h>
 
-RCSID("$Id: signal_handler.c,v 1.255 2003/03/18 17:34:03 grubba Exp $");
+RCSID("$Id: signal_handler.c,v 1.256 2003/03/19 14:22:00 grubba Exp $");
 
 #ifdef HAVE_PASSWD_H
 # include <passwd.h>
@@ -1010,7 +1010,7 @@ static void f_signame(int args)
 #endif
 
 #ifdef HAVE_WAIT4
-#define MY_WAIT_ANY(STATUS,OPT) wait4(-1,(STATUS),(OPT),0 )
+#define MY_WAIT_ANY(STATUS,OPT) wait4(0,(STATUS),(OPT),0 )
 #else
 #ifdef HAVE_WAITPID
 #define MY_WAIT_ANY(STATUS,OPT) waitpid(-1,STATUS,OPT)
-- 
GitLab