# HG changeset patch # User Gerd Moellmann # Date 1001323099 0 # Node ID 9dd4ad9bc53e9e7d0ac295a991bc5adacf8f3c8c # Parent 4cccbf391c109bcae8d0b1d9a0ae739641e36402 (sigchld_handler) [LINUX]: Don't return from the signal handler at the end of the loop. diff -r 4cccbf391c10 -r 9dd4ad9bc53e src/process.c --- a/src/process.c Sun Sep 23 18:56:28 2001 +0000 +++ b/src/process.c Mon Sep 24 09:18:19 2001 +0000 @@ -4270,7 +4270,9 @@ 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