From: Richard M. Stallman Date: Tue, 25 May 1993 23:23:53 +0000 (+0000) Subject: (wait_for_termination) [LINUX]: Use the UNIPLUS alternative. X-Git-Tag: emacs-19.34~12745 X-Git-Url: https://code.delx.au/gnu-emacs/commitdiff_plain/5f3461a5509378db29327ef154076a4dafb388a6 (wait_for_termination) [LINUX]: Use the UNIPLUS alternative. --- diff --git a/src/sysdep.c b/src/sysdep.c index 7db18c343c..cc003ee820 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -334,11 +334,11 @@ wait_for_termination (pid) else sigpause (SIGEMPTYMASK); #else /* not BSD, not LINUX, and not HPUX version >= 6 */ -#ifdef UNIPLUS +#if defined (UNIPLUS) || defined (LINUX) if (0 > kill (pid, 0)) break; wait (0); -#else /* neither BSD nor UNIPLUS: random sysV */ +#else /* neither BSD nor UNIPLUS nor LINUX: random sysV */ #ifdef HAVE_SYSV_SIGPAUSE sighold (SIGCHLD); if (0 > kill (pid, 0))