diff options
| author | Gerd Moellmann | 2001-09-24 09:18:19 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-09-24 09:18:19 +0000 |
| commit | 4e6277d8de6bcfec581c7e9be07d85a2df46afe9 (patch) | |
| tree | 30904c8c3e2841e567ebda00729c14e4eae0015d | |
| parent | 8d82c597ec0889fc76006827aad720a6c28e6068 (diff) | |
| download | emacs-4e6277d8de6bcfec581c7e9be07d85a2df46afe9.tar.gz emacs-4e6277d8de6bcfec581c7e9be07d85a2df46afe9.zip | |
(sigchld_handler) [LINUX]: Don't return from
the signal handler at the end of the loop.
| -rw-r--r-- | src/process.c | 4 |
1 files changed, 3 insertions, 1 deletions
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) | |||
| 4270 | get another signal. | 4270 | get another signal. |
| 4271 | Otherwise (on systems that have WNOHANG), loop around | 4271 | Otherwise (on systems that have WNOHANG), loop around |
| 4272 | to use up all the processes that have something to tell us. */ | 4272 | to use up all the processes that have something to tell us. */ |
| 4273 | #if defined (USG) && ! (defined (HPUX) && defined (WNOHANG)) || defined (WINDOWSNT) | 4273 | #if (defined WINDOWSNT \ |
| 4274 | || (defined USG && !defined LINUX \ | ||
| 4275 | && !(defined HPUX && defined WNOHANG))) | ||
| 4274 | #if defined (USG) && ! defined (POSIX_SIGNALS) | 4276 | #if defined (USG) && ! defined (POSIX_SIGNALS) |
| 4275 | signal (signo, sigchld_handler); | 4277 | signal (signo, sigchld_handler); |
| 4276 | #endif | 4278 | #endif |