libc inet/herrno.c resolv/netdb.h include/netdb.h

roland@sources.redhat.com roland@sources.redhat.com
Thu Aug 1 20:31:00 GMT 2002


CVSROOT:	/cvs/glibc
Module name:	libc
Changes by:	roland@sources.redhat.com	2002-08-01 20:31:16

Modified files:
	inet           : herrno.c 
	resolv         : netdb.h 
	include        : netdb.h 

Log message:
	2002-07-30  Roland McGrath  <roland@redhat.com>
	
	* inet/herrno.c [USE_TLS && HAVE___THREAD] (h_errno): Define as a
	thread-local variable.
	* resolv/netdb.h (h_errno): Define macro unconditionally.
	[_LIBC] (__set_h_errno): Macro moved to ...
	* include/netdb.h: ... here.
	[USE_TLS && HAVE___THREAD] (h_errno): Declare __thread variable.
	[USE_TLS && HAVE___THREAD] (__set_h_errno): Define using that.
	[! _LIBC_REENTRANT]: #undef h_errno here.



More information about the Glibc-cvs mailing list