* pthread_create.c (deallocate_tsd): Reset found_nonzero at the
beginning of the loop. Clear the entire first block of TSD.
-NPTL 0.23 by Ulrich Drepper
+NPTL 0.24 by Ulrich Drepper
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.
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)
{