From 4e6277d8de6bcfec581c7e9be07d85a2df46afe9 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 24 Sep 2001 09:18:19 +0000 Subject: [PATCH] (sigchld_handler) [LINUX]: Don't return from the signal handler at the end of the loop. --- src/process.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/process.c b/src/process.c index 58daaf75d6a..751bf1bdc29 100644 --- a/src/process.c +++ b/src/process.c @@ -4270,7 +4270,9 @@ sigchld_handler (signo) get another signal. Otherwise (on systems that have WNOHANG), loop around to use up all the processes that have something to tell us. */ -#if defined (USG) && ! (defined (HPUX) && defined (WNOHANG)) || defined (WINDOWSNT) +#if (defined WINDOWSNT \ + || (defined USG && !defined LINUX \ + && !(defined HPUX && defined WNOHANG))) #if defined (USG) && ! defined (POSIX_SIGNALS) signal (signo, sigchld_handler); #endif -- 2.39.5