[klibc] Re: klibc - setenv broken

H. Peter Anvin hpa at zytor.com
Mon Feb 9 14:41:19 PST 2004


Kay Sievers wrote:
> 
> Ok. But I just want to know why klibc should be differrent from glibc
> that uses SA_RESTART. I needed half a hour to recognize it :)
> 

glibc will use different versions of signal() depending on which feature
test macros you happen to set.  This is yet another reason to never use
signal().

klibc conforms to the default version, however, if you set the right (or
wrong) combination of feature test macros you'll end up using
bsd_signal() in glibc instead.

	-hpa



More information about the klibc mailing list