diff options
| author | Richard M. Stallman | 1993-05-25 23:22:08 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-05-25 23:22:08 +0000 |
| commit | 280073d7a65c97702a50c7dcbf81c747849d429d (patch) | |
| tree | 25c63b38e3136deea4a2efa64bb4aa44e4e58036 /src | |
| parent | 3a3b9632b13fadc5def70dc4c04711777c15c695 (diff) | |
| download | emacs-280073d7a65c97702a50c7dcbf81c747849d429d.tar.gz emacs-280073d7a65c97702a50c7dcbf81c747849d429d.zip | |
(wait_for_termination): Don't use the BSD alternative for LINUX.
Diffstat (limited to 'src')
| -rw-r--r-- | src/sysdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index c790901fece..7db18c343c0 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -314,7 +314,7 @@ wait_for_termination (pid) | |||
| 314 | status = SYS$FORCEX (&pid, 0, 0); | 314 | status = SYS$FORCEX (&pid, 0, 0); |
| 315 | break; | 315 | break; |
| 316 | #else /* not VMS */ | 316 | #else /* not VMS */ |
| 317 | #if defined (BSD) || (defined (HPUX) && !defined (HPUX_5)) | 317 | #if (defined (BSD) && !defined (LINUX)) || (defined (HPUX) && !defined (HPUX_5)) |
| 318 | /* Note that kill returns -1 even if the process is just a zombie now. | 318 | /* Note that kill returns -1 even if the process is just a zombie now. |
| 319 | But inevitably a SIGCHLD interrupt should be generated | 319 | But inevitably a SIGCHLD interrupt should be generated |
| 320 | and child_sig will do wait3 and make the process go away. */ | 320 | and child_sig will do wait3 and make the process go away. */ |
| @@ -333,7 +333,7 @@ wait_for_termination (pid) | |||
| 333 | sleep (1); | 333 | sleep (1); |
| 334 | else | 334 | else |
| 335 | sigpause (SIGEMPTYMASK); | 335 | sigpause (SIGEMPTYMASK); |
| 336 | #else /* not BSD, and not HPUX version >= 6 */ | 336 | #else /* not BSD, not LINUX, and not HPUX version >= 6 */ |
| 337 | #ifdef UNIPLUS | 337 | #ifdef UNIPLUS |
| 338 | if (0 > kill (pid, 0)) | 338 | if (0 > kill (pid, 0)) |
| 339 | break; | 339 | break; |