From ac3ac8592fb5ac77fe485a09866944108370b3ca Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 20 Sep 2001 13:24:09 +0000 Subject: [PATCH] (wait_for_termination): Add a FIXME comment for the use of non-POSIX sigpause. --- src/sysdep.c | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.39.2