From: Richard M. Stallman Date: Tue, 25 May 1993 23:22:08 +0000 (+0000) Subject: (wait_for_termination): Don't use the BSD alternative for LINUX. X-Git-Tag: emacs-19.34~12746 X-Git-Url: https://code.delx.au/gnu-emacs/commitdiff_plain/280073d7a65c97702a50c7dcbf81c747849d429d (wait_for_termination): Don't use the BSD alternative for LINUX. --- diff --git a/src/sysdep.c b/src/sysdep.c index c790901fec..7db18c343c 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -314,7 +314,7 @@ wait_for_termination (pid) status = SYS$FORCEX (&pid, 0, 0); break; #else /* not VMS */ -#if defined (BSD) || (defined (HPUX) && !defined (HPUX_5)) +#if (defined (BSD) && !defined (LINUX)) || (defined (HPUX) && !defined (HPUX_5)) /* Note that kill returns -1 even if the process is just a zombie now. But inevitably a SIGCHLD interrupt should be generated and child_sig will do wait3 and make the process go away. */ @@ -333,7 +333,7 @@ wait_for_termination (pid) sleep (1); else sigpause (SIGEMPTYMASK); -#else /* not BSD, and not HPUX version >= 6 */ +#else /* not BSD, not LINUX, and not HPUX version >= 6 */ #ifdef UNIPLUS if (0 > kill (pid, 0)) break;