diff options
| author | Karl Heuer | 1996-07-16 22:33:09 +0000 |
|---|---|---|
| committer | Karl Heuer | 1996-07-16 22:33:09 +0000 |
| commit | ad4bf9a06194135d938ae4aedd2daa7b16819eeb (patch) | |
| tree | 433a7aef69feb84cce02852e2fa343a463d3894d /src | |
| parent | f38e5af4f23f2ee9d07d958416ca81c7c312f4e4 (diff) | |
| download | emacs-ad4bf9a06194135d938ae4aedd2daa7b16819eeb.tar.gz emacs-ad4bf9a06194135d938ae4aedd2daa7b16819eeb.zip | |
(create_process_1, sigchld_handler): Undo previous change.
Diffstat (limited to 'src')
| -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 ef00094401c..a527066277b 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -1167,7 +1167,7 @@ SIGTYPE | |||
| 1167 | create_process_1 (signo) | 1167 | create_process_1 (signo) |
| 1168 | int signo; | 1168 | int signo; |
| 1169 | { | 1169 | { |
| 1170 | #if defined(USG) && !defined(POSIX_SIGNALS) | 1170 | #ifdef USG |
| 1171 | /* USG systems forget handlers when they are used; | 1171 | /* USG systems forget handlers when they are used; |
| 1172 | must reestablish each time */ | 1172 | must reestablish each time */ |
| 1173 | signal (signo, create_process_1); | 1173 | signal (signo, create_process_1); |
| @@ -3352,7 +3352,7 @@ sigchld_handler (signo) | |||
| 3352 | 3352 | ||
| 3353 | /* USG systems forget handlers when they are used; | 3353 | /* USG systems forget handlers when they are used; |
| 3354 | must reestablish each time */ | 3354 | must reestablish each time */ |
| 3355 | #if defined(USG) && !defined(POSIX_SIGNALS) | 3355 | #ifdef USG |
| 3356 | signal (signo, sigchld_handler); /* WARNING - must come after wait3() */ | 3356 | signal (signo, sigchld_handler); /* WARNING - must come after wait3() */ |
| 3357 | #endif | 3357 | #endif |
| 3358 | #ifdef BSD4_1 | 3358 | #ifdef BSD4_1 |
| @@ -3460,7 +3460,7 @@ sigchld_handler (signo) | |||
| 3460 | Otherwise (on systems that have WNOHANG), loop around | 3460 | Otherwise (on systems that have WNOHANG), loop around |
| 3461 | to use up all the processes that have something to tell us. */ | 3461 | to use up all the processes that have something to tell us. */ |
| 3462 | #if defined (USG) && ! (defined (HPUX) && defined (WNOHANG)) || defined (WINDOWSNT) | 3462 | #if defined (USG) && ! (defined (HPUX) && defined (WNOHANG)) || defined (WINDOWSNT) |
| 3463 | # if defined (USG) && ! defined(POSIX_SIGNALS) | 3463 | #ifdef USG |
| 3464 | signal (signo, sigchld_handler); | 3464 | signal (signo, sigchld_handler); |
| 3465 | #endif | 3465 | #endif |
| 3466 | errno = old_errno; | 3466 | errno = old_errno; |