summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2002-03-22 22:53:13 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2002-03-22 22:53:13 +0000
commit0fdcb8675486d2560ad5b46b12f4fbfdda5a609f (patch)
tree7289b3404f38f0af48182390cec3e2ec5b048056
parentd31097738a6b156f6ddcb3b797304a08cbb49d8e (diff)
downloademacs-0fdcb8675486d2560ad5b46b12f4fbfdda5a609f.tar.gz
emacs-0fdcb8675486d2560ad5b46b12f4fbfdda5a609f.tar.bz2
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)
break;
}
- /* FIXME: Since sigpause is not POSIX and its use is deprecated,
- this should probably be `sigsuspend (&empty_mask)', which is
- POSIX. I'm not making that change right away because the
- release is nearing. 2001-09-20 gerd. */
- sigpause (SIGEMPTYMASK);
+ sigsuspend (&empty_mask);
#else /* not POSIX_SIGNALS */
#ifdef HAVE_SYSV_SIGPAUSE
sighold (SIGCHLD);