changeset 39406:9dd4ad9bc53e

(sigchld_handler) [LINUX]: Don't return from the signal handler at the end of the loop.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 24 Sep 2001 09:18:19 +0000
parents 4cccbf391c10
children e6b056005c49
files src/process.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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