]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 20 Feb 2003 10:18:12 +0000 (10:18 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 20 Feb 2003 10:18:12 +0000 (10:18 +0000)
* pthread_create.c (deallocate_tsd): Reset found_nonzero at the
beginning of the loop.  Clear the entire first block of TSD.

nptl/Banner
nptl/ChangeLog
nptl/pthread_create.c

index ae12e7c142cbcca89f38e239499d7ae78da23cde..29d93d64df324193d90ffd3c058481eaf94b563c 100644 (file)
@@ -1 +1 @@
-NPTL 0.23 by Ulrich Drepper
+NPTL 0.24 by Ulrich Drepper
index 5cbc7663989ca547575fd94ac551a3c95ce9a546..f650542dbf16a93b7a84c151fb1968df07c31dd9 100644 (file)
@@ -1,7 +1,7 @@
 2003-02-20  Ulrich Drepper  <drepper@redhat.com>
 
-       * pthread_create.c (deallocate_tsd): Clear the entire first block
-       of TSD.
+       * pthread_create.c (deallocate_tsd): Reset found_nonzero at the
+       beginning of the loop.  Clear the entire first block of TSD.
        * Makefile (tests): Add tst-key4.
        * tst-key4.c: New file.
 
index 89152ffeb9381a0b7b9f38f5aae2cea20baaa9bc..bac7455af8e2c262ce98a53d2bdf0989a0d5d096 100644 (file)
@@ -124,6 +124,9 @@ deallocate_tsd (struct pthread *pd)
          size_t cnt;
          size_t idx;
 
+         /* So far no new nonzero data entry.  */
+         found_nonzero = false;
+
          for (cnt = idx = 0; cnt < PTHREAD_KEY_1STLEVEL_SIZE; ++cnt)
            if (pd->specific[cnt] != NULL)
              {