From: Pádraig Brady
Date: Thu, 14 Jan 2016 09:47:39 +0000 (+0000) Subject: sig2str: list all signals on FreeBSD >= 7 X-Git-Tag: v1.0~6858 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=dce117ace24a660c5aa6a651e7415b1e21431d73;p=gnulib.git sig2str: list all signals on FreeBSD >= 7 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. --- diff --git a/ChangeLog b/ChangeLog index 858615ae4f..b19edb1e26 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2016-01-14 Pádraig Brady
+
+ sig2str: list all signals on FreeBSD >= 7
+ 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.
+
2016-01-13 Paul Eggert