*sigpause hanging on 8.x+

Garrett Cooper yanegomi at gmail.com
Sun Jul 11 23:19:38 UTC 2010


2010/7/11 Alexander Kabaev <kabaev at gmail.com>:
> On Sun, 11 Jul 2010 15:59:05 -0700
> Garrett Cooper <yanegomi at gmail.com> wrote:
>
>> > +       if (!_SIG_VALID(how))
>> > +               return (-EINVAL);
>
> -EINVAL? Smells too much of Linux, try returning EINVAL instead.

Wow, I'm batting 1,000 today. Please completely ignore my previous
claim about sigprocmask(2) -- I'm screwing up my function calls.
-Garrett


More information about the freebsd-hackers mailing list