NSIG wrong on Linux (amd64 and m68k, at least)

Thorsten Glaser tg@mirbsd.de
Sat May 19 16:44:00 GMT 2012


Andreas Schwab dixit:

>Thorsten Glaser <tg@mirbsd.de> writes:
>
>> hpa said that it’s probably an off-by-one error, that someone
>> confused [32;64[ with [32;64] and that there are 32 RT signals
>> on Linux/x86_64 but changing SIGRTMAX would be messy.
>
>Signal numbers are 1-based.

Yes, we’ve wondered about this a bit in IRC, and hpa found that
particular thing, too. So the only thing left is to wonder why
glibc thinks there are 33 RT signals (if I’m counting right).
Shouldn’t 32-63 be RT signals and 64 something else? (I sort of
still miss BSD’s SIGINFO on Linux…)

bye,
//mirabilos
-- 
Sometimes they [people] care too much: pretty printers [and syntax highligh-
ting, d.A.] mechanically produce pretty output that accentuates irrelevant
detail in the program, which is as sensible as putting all the prepositions
in English text in bold font.	-- Rob Pike in "Notes on Programming in C"



More information about the Libc-alpha mailing list