1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 00:01:33 -08:00

(sigchld_handler) [LINUX]: Don't return from

the signal handler at the end of the loop.
This commit is contained in:
Gerd Moellmann 2001-09-24 09:18:19 +00:00
parent 8d82c597ec
commit 4e6277d8de

View file

@ -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