On 01/29/2013 01:31 AM, Daiki Ueno wrote:
> Yes, but from the gettext Hydra build log[1], FreeBSD 8.x does not seem
> to have that behavior. Perhaps it might be a bug in the latest FreeBSD
> kernel.
>
> Footnotes:
> [1] http://hydra.nixos.org/build/3910833/nixlog/1
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;
}