]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Wed, 9 Oct 2002 18:21:41 +0000 (18:21 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 9 Oct 2002 18:21:41 +0000 (18:21 +0000)
* sysdeps/generic/bits/libc-tsd.h [!(USE_TLS && HAVE___THREAD)]
(__libc_tsd_address): Use correct variable name.
Patch by sStefan Jones <tefan.jones@multigig.com>.

ChangeLog
bits/libc-tsd.h
sysdeps/generic/bits/libc-tsd.h

index 1ec74b28a193fef7d65593c38a0fdf3accfabc31..38b1d95152f8a9c0894da72ba0287d0d6699e427 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2002-10-09  Ulrich Drepper  <drepper@redhat.com>
 
+       * sysdeps/generic/bits/libc-tsd.h [!(USE_TLS && HAVE___THREAD)]
+       (__libc_tsd_address): Use correct variable name.
+       Patch by sStefan Jones <tefan.jones@multigig.com>.
+
        * sysdeps/unix/sysv/linux/ia64/getcontext.S: Add missing ;;.
        Reported by edwardsg@sgi.com [PR libc/4678].
 
index ce25601986d85ff68dd7f6b61871b06732fc02a9..1954b2033487c3b7a7c0a96d8772d17122dcc1d0 100644 (file)
@@ -60,7 +60,7 @@
 #else
 # define __libc_tsd_define(CLASS, KEY) CLASS void *__libc_tsd_##KEY##_data;
 
-# define __libc_tsd_address(KEY)       (&__libc_tsd_##KEY)
+# define __libc_tsd_address(KEY)       (&__libc_tsd_##KEY##_data)
 # define __libc_tsd_get(KEY)           (__libc_tsd_##KEY##_data)
 # define __libc_tsd_set(KEY, VALUE)    (__libc_tsd_##KEY##_data = (VALUE))
 #endif
index ce25601986d85ff68dd7f6b61871b06732fc02a9..1954b2033487c3b7a7c0a96d8772d17122dcc1d0 100644 (file)
@@ -60,7 +60,7 @@
 #else
 # define __libc_tsd_define(CLASS, KEY) CLASS void *__libc_tsd_##KEY##_data;
 
-# define __libc_tsd_address(KEY)       (&__libc_tsd_##KEY)
+# define __libc_tsd_address(KEY)       (&__libc_tsd_##KEY##_data)
 # define __libc_tsd_get(KEY)           (__libc_tsd_##KEY##_data)
 # define __libc_tsd_set(KEY, VALUE)    (__libc_tsd_##KEY##_data = (VALUE))
 #endif