[klibc] Re: klibc - setenv broken

Kay Sievers kay.sievers at vrfy.org
Mon Feb 9 23:49:57 PST 2004

On Mon, Feb 09, 2004 at 02:41:19PM -0800, H. Peter Anvin wrote:
> 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.

Thanks for the explanation.
It sounds crazy enough to switch to sigaction() :) 


More information about the klibc mailing list