sigrelse has the same problem as (*sigset) as far as not catching
sigaddset(3) errors is concerned.
Thanks,
-Garrett

Index: compat-43/sigcompat.c
===================================================================
--- compat-43/sigcompat.c       (revision 210226)
+++ compat-43/sigcompat.c       (working copy)
@@ -151,7 +151,8 @@
        sigset_t set;

        sigemptyset(&set);
-       sigaddset(&set, sig);
+       if (sigaddset(&set, sig) == -1)
+               return (-1);
        return (_sigprocmask(SIG_UNBLOCK, &set, NULL));
 }
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"

Reply via email to