signal: work around Haiku issue with SIGBUS
authorEric Blake <eblake@redhat.com>
Fri, 31 Dec 2010 19:36:15 +0000 (12:36 -0700)
committerEric Blake <eblake@redhat.com>
Thu, 6 Jan 2011 21:21:48 +0000 (14:21 -0700)
commit92d72e3b846a8ba258831a30510742d3b7b53609
tree25f6368cdd410d3aa03be02e4e4d3fff9a507fa9
parent807533b8c9cec5320db9cf7e0746d229bd0700a6
signal: work around Haiku issue with SIGBUS

* 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 <eblake@redhat.com>
ChangeLog
doc/posix-headers/signal.texi
lib/sig2str.c
lib/siglist.h
tests/test-signal.c