h_errno

Nick Burrett nick at dsvr.net
Sat Aug 17 04:03:56 PDT 2002


Alex Waugh wrote:

> In netlib/h_errno.c:
> 
> /* Please note that this should not be defined in any header files.  */
> 
> volatile int h_errno = 0;
> 
> What is the reasoning behind that comment?

Legacy.  I can't remember any more.  But ISTR that h_errno was only 
recently allowed to be in the netdb.h header file.

Patch committed.

Nick.



-- 
Nick Burrett
Development Manager, Designer Servers Ltd.   http://www.dsvr.co.uk




More information about the gcc mailing list