diff options
author | Eric Blake <eblake@redhat.com> | 2010-12-31 12:36:15 -0700 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2011-01-06 14:21:48 -0700 |
commit | 92d72e3b846a8ba258831a30510742d3b7b53609 (patch) | |
tree | 25f6368cdd410d3aa03be02e4e4d3fff9a507fa9 /lib/siglist.h | |
parent | 807533b8c9cec5320db9cf7e0746d229bd0700a6 (diff) | |
download | gnulib-92d72e3b846a8ba258831a30510742d3b7b53609.tar.gz |
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>
Diffstat (limited to 'lib/siglist.h')
-rw-r--r-- | lib/siglist.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/siglist.h b/lib/siglist.h index 8c86d9b222..104bc68310 100644 --- a/lib/siglist.h +++ b/lib/siglist.h @@ -23,6 +23,9 @@ /* This file is included multiple times. */ +/* Duplicate values (such as SIGBUS==SIGSEGV on Haiku) favor the last + list entry. */ + /* Standard signals */ #ifdef SIGHUP init_sig (SIGHUP, "HUP", N_("Hangup")) |