optimize sigisemptyset
authorRich Felker <dalias@aerifal.cx>
Tue, 1 May 2018 20:56:02 +0000 (16:56 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 1 May 2018 21:00:31 +0000 (17:00 -0400)
commit941bd884cc0221d051840ce6d21650339e711863
treec1c372cb94e568319483373b0b9403995ed2e841
parent375840c7d8e1f58a9bf40ced72fbe82635f49489
optimize sigisemptyset

the static const zero set ended up getting put in bss instead of
rodata, wasting writable memory, and the call to memcmp was
size-inefficient. generally for nonstandard extension functions we try
to avoid poking at any internals directly, but the way the zero set
was setup was arguably already doing so.
src/signal/sigisemptyset.c