From: Gerd Moellmann Date: Thu, 20 Sep 2001 13:24:09 +0000 (+0000) Subject: (wait_for_termination): Add a FIXME comment for the use of non-POSIX X-Git-Tag: emacs-pretest-21.0.106~54 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ac3ac8592fb5ac77fe485a09866944108370b3ca;p=emacs.git (wait_for_termination): Add a FIXME comment for the use of non-POSIX sigpause. --- diff --git a/src/sysdep.c b/src/sysdep.c index 1be3c62c1da..2a0f5df4d90 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -485,6 +485,11 @@ wait_for_termination (pid) sigunblock (sigmask (SIGCHLD)); 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); #else /* not POSIX_SIGNALS */ #ifdef HAVE_SYSV_SIGPAUSE