Closed Bug 593767 Opened 9 years ago Closed 9 years ago

Support platforms without SA_SIGINFO

Categories

(Core :: General, defect)

Other
Other
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla2.0b8

People

(Reporter: glandium, Assigned: glandium)

Details

Attachments

(1 file)

Some platforms (hurd, at least) don't have SA_SIGINFO, used in various places of the code.

The attached patch disables the use of SA_SIGINFO when SA_SIGINFO is not defined.
Note it doesn't do so for jprof and crashreporter (mostly because so far Debian hasn't built these). The patch is from Samuel Thibault.
Attachment #472344 - Flags: review?(benjamin)
Comment on attachment 472344 [details] [diff] [review]
Don't use SA_SIGINFO when unsupported

Where does SA_SIGINFO come from? Some standard Linux header file?
On Linux it's defined in /usr/include/asm-generic/signal.h. I supposed other unices supporting it define it in some signal.h related header. Hurd unfortunately doesn't have SA_SIGINFO at all.
Attachment #472344 - Flags: review?(benjamin) → review+
Attachment #472344 - Flags: approval2.0?
Attachment #472344 - Flags: approval2.0? → approval2.0+
http://hg.mozilla.org/mozilla-central/rev/0b96513bbfd4
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b8
You need to log in before you can comment on or make changes to this bug.