aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2002-03-22 22:53:13 +0000
committerStefan Monnier2002-03-22 22:53:13 +0000
commit0fdcb8675486d2560ad5b46b12f4fbfdda5a609f (patch)
tree7289b3404f38f0af48182390cec3e2ec5b048056
parentd31097738a6b156f6ddcb3b797304a08cbb49d8e (diff)
downloademacs-0fdcb8675486d2560ad5b46b12f4fbfdda5a609f.tar.gz
emacs-0fdcb8675486d2560ad5b46b12f4fbfdda5a609f.zip
(wait_for_termination): Use sigsuspend rather than sigpause.
-rw-r--r--src/sysdep.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index b951b545fbe..75d929e54ca 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -487,11 +487,7 @@ wait_for_termination (pid)
487 break; 487 break;
488 } 488 }
489 489
490 /* FIXME: Since sigpause is not POSIX and its use is deprecated, 490 sigsuspend (&empty_mask);
491 this should probably be `sigsuspend (&empty_mask)', which is
492 POSIX. I'm not making that change right away because the
493 release is nearing. 2001-09-20 gerd. */
494 sigpause (SIGEMPTYMASK);
495#else /* not POSIX_SIGNALS */ 491#else /* not POSIX_SIGNALS */
496#ifdef HAVE_SYSV_SIGPAUSE 492#ifdef HAVE_SYSV_SIGPAUSE
497 sighold (SIGCHLD); 493 sighold (SIGCHLD);