Re: Bug mass-filing: Broken packages using errno without including errno.h
On Sun, Nov 03, 2002 at 02:22:01PM +0000, Mark Brown wrote:
> What the man page and the standard say is that if you include errno.h
> one of the things you get is a declaration of errno which looks like
> "extern int errno" but may not actually be literally that. As the man
> page says:
>
> errno is defined by the ISO C standard to be a modifiable lvalue of
> type int, and must not be explicitly declared; errno may be a macro.
> errno is thread-local; setting it in one thread does not affect its
> value in any other thread.
Ugh, right. I misparsed this line when I initially read it. Thanks.
Time for a li'l ed script, it seems...
Regards,
Daniel.
Reply to: