glibc-2.3.2 and errno

Matt Reppert arashi at yomerashi.yi.org
Mon Mar 3 15:39:30 PST 2003


On Mon, 3 Mar 2003 16:55:22 -0600
"DJ Lucas" <dj_me at swbell.net> wrote:

> Greg Schafer wrote:
> >
> > the solution is to add "#include <errno.h>" and remove references to
> > "extern int errno;"
> 
> Will that particular fix, break things with 2.3.1 or even 2.2.x??  I
> don't have a copy of them here at the moment.

No. This is the way it's supposed to be done. Software that declares errno
as an extern int like that is broken and needs to be fixed.

Matt
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list