aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-12-28 10:09:27 +0000
committerUlrich Drepper <drepper@redhat.com>2004-12-28 10:09:27 +0000
commitab4bc7134909bbb3a91c4b53caa30b8ecbda1611 (patch)
treed63d1f939a45deb7af9a98765aa3921073ee01da
parenta71c152cfce9040addc1474936c2b96382ab9169 (diff)
downloadglibc-ab4bc7134909bbb3a91c4b53caa30b8ecbda1611.zip
glibc-ab4bc7134909bbb3a91c4b53caa30b8ecbda1611.tar.gz
glibc-ab4bc7134909bbb3a91c4b53caa30b8ecbda1611.tar.bz2
Update.
2004-12-28 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/dl-tls.c (__tls_get_addr): Fix typo.
-rw-r--r--ChangeLog4
-rw-r--r--include/signal.h1
-rw-r--r--sysdeps/generic/dl-tls.c2
3 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d310c22..93a7edd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 6ceafe0..dc1e0a1 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 3382e34..2282dda 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;