about summary refs log tree commit diff
path: root/nptl/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-02-05 00:03:02 +0000
committerUlrich Drepper <drepper@redhat.com>2003-02-05 00:03:02 +0000
commit6f1cff95e7d5ff6fdfd9edfc46a7abd709842c16 (patch)
treebc84ce515b2a78098b66783d8dd08dab6e490cdc /nptl/sysdeps
parentb33b0d0dfb0ae86197149e19a8cc6bd29b20f5b8 (diff)
downloadglibc-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.h2
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)