Found another item that could be converted over to _SIG_VALID in
libthr's thr_sig.c this time.
Thanks,
-Garrett

Index: lib/libthr/thread/thr_sig.c
===================================================================
--- lib/libthr/thread/thr_sig.c (revision 206173)
+++ lib/libthr/thread/thr_sig.c (working copy)
@@ -194,7 +194,7 @@
 _sigaction(int sig, const struct sigaction * act, struct sigaction * oact)
 {
        /* Check if the signal number is out of range: */
-       if (sig < 1 || sig > _SIG_MAXSIG || sig == SIGCANCEL) {
+       if (!_SIG_VALID(sig) || sig == SIGCANCEL) {
                /* Return an invalid argument: */
                errno = EINVAL;
                return (-1);
_______________________________________________
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