[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#162576: marked as done (libc6-dev: errno is a function call in non-threaded program)



Florian Weimer <Weimer@cert.uni-stuttgart.de> wrote:
> 
> The slowdown is a price to be paid, otherwise we would need a
> different set of almost all shared libraries for linking with
> multi-threading programs.  I think we already had this situation, and
> it wasn't nice at all.

No you don't, all you need to do is to make the errno macro conditional.
You already have to support people not including errno.h...
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Reply to: