]> code.delx.au - gnu-emacs/commitdiff
(wait_for_termination) [LINUX]: Use the UNIPLUS alternative.
authorRichard M. Stallman <rms@gnu.org>
Tue, 25 May 1993 23:23:53 +0000 (23:23 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 25 May 1993 23:23:53 +0000 (23:23 +0000)
src/sysdep.c

index 7db18c343c07f81142cfae24f6f8df4b08c3e6b0..cc003ee8202c8ee28e0cf3363f5da77bb8a3d459 100644 (file)
@@ -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))