[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] signal: work around Haiku issue with SIGBUS
From: |
Eric Blake |
Subject: |
Re: [PATCH] signal: work around Haiku issue with SIGBUS |
Date: |
Thu, 06 Jan 2011 14:28:39 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7 |
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 <address@hidden>
> ---
>
>> 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 address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH] signal: work around Haiku issue with SIGBUS,
Eric Blake <=