Looks like kib@ checked in a version with the sigdelset fixes for
xsi_sigpause(3). This goes one step further by changing the prototype
to follow the declaration in the manpage.
Thanks,
-Garrett

Index: compat-43/sigcompat.c
===================================================================
--- compat-43/sigcompat.c       (revision 210226)
+++ compat-43/sigcompat.c       (working copy)
@@ -109,19 +109,19 @@
 }

 int
-xsi_sigpause(int sig)
+xsi_sigpause(int sigmask)
 {
        sigset_t set;
        int error;

-       if (!_SIG_VALID(sig)) {
+       if (!_SIG_VALID(sigmask)) {
                errno = EINVAL;
                return (-1);
        }
        error = _sigprocmask(SIG_BLOCK, NULL, &set);
        if (error != 0)
                return (error);
-       sigdelset(&set, sig);
+       sigdelset(&set, sigmask);
        return (_sigsuspend(&set));
 }
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to