]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 28 Dec 2004 10:09:27 +0000 (10:09 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 28 Dec 2004 10:09:27 +0000 (10:09 +0000)
2004-12-28  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/dl-tls.c (__tls_get_addr): Fix typo.

ChangeLog
include/signal.h
sysdeps/generic/dl-tls.c

index d310c221bf87ca7076e71f772da483dc525dd8da..93a7eddcc53154b7af52262e720c16a9c8bdcedd 100644 (file)
--- 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.
index 6ceafe0c73f3232b1012f156ca2728f16f0e2a00..dc1e0a12e5b6205aca48c5fdd429a406157a6bbc 100644 (file)
@@ -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)
 
 
index 3382e3493cf6eca6c75b0865a50daf0d5e3c0ebd..2282dda9cc35cc5477dc591f7995270c6fc061fa 100644 (file)
@@ -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;