diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | include/signal.h | 1 | ||||
-rw-r--r-- | sysdeps/generic/dl-tls.c | 2 |
3 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2004-12-28 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/generic/dl-tls.c (__tls_get_addr): Fix typo. + 2004-12-27 Ulrich Drepper <drepper@redhat.com> * include/signal.h: Define __sigemptyset. diff --git a/include/signal.h b/include/signal.h index 6ceafe0c73..dc1e0a12e5 100644 --- a/include/signal.h +++ b/include/signal.h @@ -49,6 +49,7 @@ extern int __default_sigpause (int mask); extern int __xpg_sigpause (int sig); /* Simplified sigemptyset() implementation without the parameter checking. */ +#undef __sigemptyset #define __sigemptyset(ss) (memset (ss, '\0', sizeof (sigset_t)), 0) diff --git a/sysdeps/generic/dl-tls.c b/sysdeps/generic/dl-tls.c index 3382e3493c..2282dda9cc 100644 --- a/sysdeps/generic/dl-tls.c +++ b/sysdeps/generic/dl-tls.c @@ -577,7 +577,7 @@ __tls_get_addr (GET_ADDR_ARGS) { size_t cnt; - for (cnt = total = 0 ? 1 : 0; cnt < listp->len; ++cnt) + for (cnt = total == 0 ? 1 : 0; cnt < listp->len; ++cnt) { size_t gen = listp->slotinfo[cnt].gen; struct link_map *map; |