]> git.eshelyaron.com Git - emacs.git/commitdiff
(wait_for_termination): Add a FIXME comment for the use of non-POSIX
authorGerd Moellmann <gerd@gnu.org>
Thu, 20 Sep 2001 13:24:09 +0000 (13:24 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 20 Sep 2001 13:24:09 +0000 (13:24 +0000)
sigpause.

src/sysdep.c

index 1be3c62c1daaaf413a618d97b00d0e3b4b15f0c7..2a0f5df4d90a9405248f88bc9b259e97a7d49eb3 100644 (file)
@@ -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