diff options
| author | Richard M. Stallman | 1996-09-04 15:07:07 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-09-04 15:07:07 +0000 |
| commit | 3c0ee47b71f71896291fa8e8e4795db233a8a1b2 (patch) | |
| tree | 93483bb4be842bd3eca799e04e28597b4cdd7236 /src/process.c | |
| parent | 5970a8cba8740768c6ba385dbfe4192970090b43 (diff) | |
| download | emacs-3c0ee47b71f71896291fa8e8e4795db233a8a1b2.tar.gz emacs-3c0ee47b71f71896291fa8e8e4795db233a8a1b2.zip | |
(create_process_1, sigchld_handler) [POSIX_SIGNALS]:
Don't reestablish handler.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/process.c b/src/process.c index be450f936e5..b33b7201913 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -1177,7 +1177,7 @@ SIGTYPE | |||
| 1177 | create_process_1 (signo) | 1177 | create_process_1 (signo) |
| 1178 | int signo; | 1178 | int signo; |
| 1179 | { | 1179 | { |
| 1180 | #ifdef USG | 1180 | #if defined (USG) && !defined (POSIX_SIGNALS) |
| 1181 | /* USG systems forget handlers when they are used; | 1181 | /* USG systems forget handlers when they are used; |
| 1182 | must reestablish each time */ | 1182 | must reestablish each time */ |
| 1183 | signal (signo, create_process_1); | 1183 | signal (signo, create_process_1); |
| @@ -3371,7 +3371,7 @@ sigchld_handler (signo) | |||
| 3371 | 3371 | ||
| 3372 | /* USG systems forget handlers when they are used; | 3372 | /* USG systems forget handlers when they are used; |
| 3373 | must reestablish each time */ | 3373 | must reestablish each time */ |
| 3374 | #ifdef USG | 3374 | #if defined (USG) && !defined (POSIX_SIGNALS) |
| 3375 | signal (signo, sigchld_handler); /* WARNING - must come after wait3() */ | 3375 | signal (signo, sigchld_handler); /* WARNING - must come after wait3() */ |
| 3376 | #endif | 3376 | #endif |
| 3377 | #ifdef BSD4_1 | 3377 | #ifdef BSD4_1 |
| @@ -3479,7 +3479,7 @@ sigchld_handler (signo) | |||
| 3479 | Otherwise (on systems that have WNOHANG), loop around | 3479 | Otherwise (on systems that have WNOHANG), loop around |
| 3480 | to use up all the processes that have something to tell us. */ | 3480 | to use up all the processes that have something to tell us. */ |
| 3481 | #if defined (USG) && ! (defined (HPUX) && defined (WNOHANG)) || defined (WINDOWSNT) | 3481 | #if defined (USG) && ! (defined (HPUX) && defined (WNOHANG)) || defined (WINDOWSNT) |
| 3482 | #ifdef USG | 3482 | #if defined (USG) && ! defined (POSIX_SIGNALS) |
| 3483 | signal (signo, sigchld_handler); | 3483 | signal (signo, sigchld_handler); |
| 3484 | #endif | 3484 | #endif |
| 3485 | errno = old_errno; | 3485 | errno = old_errno; |