Pádraig Brady wrote:
> FreeBSD >= 7 is contravening POSIX by not defining NSIG
> to the maximal statically defined signal value.
> It does define _SIG_MAXSIG though, so base SIGNUM_BOUND on that.
> 
> * lib/sig2str.h (SIGNUM_BOUND): Define to (_SIG_MAXSIG - 2)
> where available, even when NSIG is defined.

We are using NSIG in other places as well, such as lib/spawni.c.
If FreeBSD is not defining it to the right value, we should
override it in lib/signal.in.h, no?

Bruno


Reply via email to