diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-02-05 00:03:02 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-02-05 00:03:02 +0000 |
commit | 6f1cff95e7d5ff6fdfd9edfc46a7abd709842c16 (patch) | |
tree | bc84ce515b2a78098b66783d8dd08dab6e490cdc /nptl | |
parent | b33b0d0dfb0ae86197149e19a8cc6bd29b20f5b8 (diff) | |
download | glibc-6f1cff95e7d5ff6fdfd9edfc46a7abd709842c16.tar.gz glibc-6f1cff95e7d5ff6fdfd9edfc46a7abd709842c16.tar.xz glibc-6f1cff95e7d5ff6fdfd9edfc46a7abd709842c16.zip |
Update.
2003-02-04 Ulrich Drepper <drepper@redhat.com> * iconvdata/Makefile: Add rules to build and run bug-iconv3. * iconvdata/bug-iconv3.c: New file.
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/ChangeLog | 9 | ||||
-rw-r--r-- | nptl/sysdeps/pthread/bits/libc-lock.h | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 745737821e..068d36976a 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,5 +1,14 @@ +2003-02-04 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/pthread/bits/libc-lock.h (__libc_once): In case no + thread library is available, use correct value to mark initialized + once variable. + 2003-02-03 Ulrich Drepper <drepper@redhat.com> + * allocatestack.c (allocate_stack): Use __getpagesize instead of + __sysconf to determine pagesize. + * pthread_create.c: Include <atomic.h>. * allocatestack.c (allocate_stack): Implement coloring of the allocated stack memory. Rename pagesize to pagesize_m1. It's the diff --git a/nptl/sysdeps/pthread/bits/libc-lock.h b/nptl/sysdeps/pthread/bits/libc-lock.h index f19281e999..3a3d3cc6d3 100644 --- a/nptl/sysdeps/pthread/bits/libc-lock.h +++ b/nptl/sysdeps/pthread/bits/libc-lock.h @@ -340,7 +340,7 @@ typedef pthread_key_t __libc_key_t; PTF(__pthread_once) (&(ONCE_CONTROL), INIT_FUNCTION); \ else if ((ONCE_CONTROL) == PTHREAD_ONCE_INIT) { \ INIT_FUNCTION (); \ - (ONCE_CONTROL) = !PTHREAD_ONCE_INIT; \ + (ONCE_CONTROL) |= 2; \ } \ } while (0) |