diff options
author | Roland McGrath <roland@gnu.org> | 2002-08-02 03:37:41 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-08-02 03:37:41 +0000 |
commit | fc10bc8d325d1c0e08ccadaa650686d735b70d3e (patch) | |
tree | 37de86ef53188b292ef0a2a20521558aa2e16ee5 /sysvipc | |
parent | c2afe833521105e05298500ba5d4676d6c833242 (diff) | |
download | glibc-fc10bc8d325d1c0e08ccadaa650686d735b70d3e.tar.gz glibc-fc10bc8d325d1c0e08ccadaa650686d735b70d3e.tar.xz glibc-fc10bc8d325d1c0e08ccadaa650686d735b70d3e.zip |
* resolv/resolv.h (_res): Define macro unconditionally.
[! _LIBC_REENTRANT] (_res): Move this conditional decl to ... * include/resolv.h: ... here. [USE_TLS && HAVE___THREAD] (_res): #undef it and declare as a __thread variable. * resolv/res_libc.c [USE_TLS && HAVE___THREAD] (_res): Define it as a __thread variable instead of a global. * resolv/res_data.c [_LIBC]: Don't #undef _res. * include/errno.h: Include <tls.h> to make sure USE_TLS defined by the time we test it. * intl/loadmsgcat.c [__GNUC__]: #undef alloca before defining it. * malloc/malloc.c [_LIBC]: Include <string.h> instead of using local decls of memset and memcpy. * sysdeps/generic/sysdep.h (END): Conditionalize on [__ASSEMBLER__]. * sysdeps/unix/sysv/linux/i386/sysdep.h (L): Likewise. * elf/dl-load.c (_dl_map_object_from_fd): Comment fix. * sysdeps/generic/bits/libc-tsd.h [USE_TLS && HAVE___THREAD] (__libc_tsd_define): Define using __thread. * sunrpc/rpc_thread.c: Use __libc_tsd_define. (__rpc_thread_variables): Use __libc_tsd_get. (__rpc_thread_destroy): Use __libc_tsd_get instead of calling __rpc_thread_variables, which might allocate what we're about to free. * 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/errno.h: Protect from multiple inclusion. * misc/sys/select.h (__NFDBITS, __FDELT, __FDMASK): #undef these before defining them, since Linux's <linux/posix_types.h> might have defined them. 2002-08-01 Roland McGrath <roland@redhat.com> 2002-07-31 Roland McGrath <roland@redhat.com> 2002-07-31 Roland McGrath <roland@redhat.com>
Diffstat (limited to 'sysvipc')
0 files changed, 0 insertions, 0 deletions