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

Bug#162576: libc6-dev: errno is a function call in non-threaded program



On Fri, Sep 27, 2002 at 08:14:23PM -0400, Ben Collins wrote:
> 
> Heh, this is too easy :)
> 
> #include <errno.h>
> #undef errno
> extern int errno;
> 
> But that's not what you wanted, I suspect :)

Well no, I'd rather do it without modifying the application :)
-- 
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: