changeset 39363:50bf161d854c

(wait_for_termination): Add a FIXME comment for the use of non-POSIX sigpause.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 20 Sep 2001 13:24:09 +0000
parents 62748cfe4f18
children bd687d055024
files src/sysdep.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/sysdep.c	Thu Sep 20 11:44:26 2001 +0000
+++ b/src/sysdep.c	Thu Sep 20 13:24:09 2001 +0000
@@ -485,6 +485,11 @@
 	  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