aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1993-05-25 23:23:53 +0000
committerRichard M. Stallman1993-05-25 23:23:53 +0000
commit5f3461a5509378db29327ef154076a4dafb388a6 (patch)
tree1a534be989379d474fbd7c16e5f8a31a5813fdba /src
parent280073d7a65c97702a50c7dcbf81c747849d429d (diff)
downloademacs-5f3461a5509378db29327ef154076a4dafb388a6.tar.gz
emacs-5f3461a5509378db29327ef154076a4dafb388a6.zip
(wait_for_termination) [LINUX]: Use the UNIPLUS alternative.
Diffstat (limited to 'src')
-rw-r--r--src/sysdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index 7db18c343c0..cc003ee8202 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -334,11 +334,11 @@ wait_for_termination (pid)
334 else 334 else
335 sigpause (SIGEMPTYMASK); 335 sigpause (SIGEMPTYMASK);
336#else /* not BSD, not LINUX, and not HPUX version >= 6 */ 336#else /* not BSD, not LINUX, and not HPUX version >= 6 */
337#ifdef UNIPLUS 337#if defined (UNIPLUS) || defined (LINUX)
338 if (0 > kill (pid, 0)) 338 if (0 > kill (pid, 0))
339 break; 339 break;
340 wait (0); 340 wait (0);
341#else /* neither BSD nor UNIPLUS: random sysV */ 341#else /* neither BSD nor UNIPLUS nor LINUX: random sysV */
342#ifdef HAVE_SYSV_SIGPAUSE 342#ifdef HAVE_SYSV_SIGPAUSE
343 sighold (SIGCHLD); 343 sighold (SIGCHLD);
344 if (0 > kill (pid, 0)) 344 if (0 > kill (pid, 0))