From 6f1cff95e7d5ff6fdfd9edfc46a7abd709842c16 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 5 Feb 2003 00:03:02 +0000 Subject: Update. 2003-02-04 Ulrich Drepper * iconvdata/Makefile: Add rules to build and run bug-iconv3. * iconvdata/bug-iconv3.c: New file. --- nptl/sysdeps/pthread/bits/libc-lock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nptl/sysdeps/pthread/bits/libc-lock.h') 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) -- cgit v1.2.3