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/sysdeps | |
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/sysdeps')
-rw-r--r-- | nptl/sysdeps/pthread/bits/libc-lock.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) |