On 12/31/2010 12:44 PM, Eric Blake wrote:
> * lib/siglist.h: Add comment.
> * lib/sig2str.c (numname_table): Swap SIGBUS order, to match
> strsignal's favoring of SIGSEGV.
> * tests/test-signal.c (main): Avoid test failure.
> * doc/posix-headers/signal.texi (signal.h): Document the issue.
> Reported by Scott McCreary.
> 
> Signed-off-by: Eric Blake <[email protected]>
> ---
> 
>> Thanks for tracking that.  In glancing through gnulib uses of SIGBUS, it
>> looks like most are harmless (it may end up associating the same handler
>> with SIGSEGV twice in a row), but at least tests/test-signal.c will fail
>> if we don't modify it to account for this bug.  Also, we want to favor
>> the name SIGSEGV in lists like strsignal(SIGBUS).  And documenting the
>> bug can't hurt.  Patch coming up shortly.
> 
> I don't have access to Haiku, or I would test this.  Does it look okay?

No comments, after nearly a week, so I'm going ahead and pushing it, so
I can build a scratch m4 tarball for further testing on Haiku (actually,
before I can build that tarball, I need more time to look into the
configure failures regarding changing directories in the middle of a
configure run).

-- 
Eric Blake   [email protected]    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to