This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc inet/herrno.c resolv/netdb.h include/netdb.h
- From: roland at sources dot redhat dot com
- To: glibc-cvs at sources dot redhat dot com
- Date: 2 Aug 2002 03:31:16 -0000
- Subject: libc inet/herrno.c resolv/netdb.h include/netdb.h
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.