# HG changeset patch # User Stefan Monnier # Date 1016837593 0 # Node ID 0400b67840bafbadf762af31ba1183dbc0f44714 # Parent b38366975f18db61d02508b1e9198a23ae88f5a8 (wait_for_termination): Use sigsuspend rather than sigpause. diff -r b38366975f18 -r 0400b67840ba src/sysdep.c --- a/src/sysdep.c Fri Mar 22 22:46:29 2002 +0000 +++ b/src/sysdep.c Fri Mar 22 22:53:13 2002 +0000 @@ -487,11 +487,7 @@ 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);