2002-07-30 Roland McGrath <roland@redhat.com>
authorroland <roland>
Fri, 2 Aug 2002 03:31:15 +0000 (03:31 +0000)
committerroland <roland>
Fri, 2 Aug 2002 03:31:15 +0000 (03:31 +0000)
commit10e4dd0c35db1d409d9d48f27d414d433b7443e4
tree7c642e84558d0e3e8d72c8f1e3a3faa0db9201fe
parent279999d1c8cb71dd20567e1f07198c7a56bcbb07
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.
include/netdb.h
inet/herrno.c
resolv/netdb.h