Hmm, it seems this has been sitting in my drafts folder for quite some time.
> In that case perhaps we should leave the Gnulib test alone,
> and report a bug to the FreeBSD folks. Does the following
> simple test case elicit the bug for you? It should exit with status 0
> on any host conforming to POSIX.
>
> #include <signal.h>
> #include <stdio.h>
>
> int
> main (void)
> {
> struct sigaction sa;
> if (sigaction (SIGABRT, 0, &sa) != 0)
> return perror ("sigaction"), 1;
> if (sa.sa_flags & SA_SIGINFO)
> {
> fprintf (stderr, "sigaction wrongly reports SA_SIGINFO\n");
> return 1;
> }
> return 0;
> }
I don't have a 9.1-RELEASE machine handy, but get the expected zero
return from this test program on the following FreeBSD versions (one
before and one after 9.1-RELEASE):
9.1-PRERELEASE r242367M Oct 30 2012
9.1-STABLE r245345 Jan 12 2012