aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-02-23 09:58:08 +0000
committerUlrich Drepper <drepper@redhat.com>2003-02-23 09:58:08 +0000
commit5a6bbb41603dabf4afcdd30c9f714a74078a787b (patch)
tree180493951aeb659de366c55f026bc2232933c6a1 /nptl
parentfd1a0d0c7c23487e2ec8e1fc60036f1165f30ce1 (diff)
downloadglibc-5a6bbb41603dabf4afcdd30c9f714a74078a787b.tar
glibc-5a6bbb41603dabf4afcdd30c9f714a74078a787b.tar.gz
glibc-5a6bbb41603dabf4afcdd30c9f714a74078a787b.tar.bz2
glibc-5a6bbb41603dabf4afcdd30c9f714a74078a787b.zip
Update.
* posix/Makefile (CFLAGS-regex.c): Remove RE_ENABLE_I18N definition. * posix/regex_internal.h (RE_ENABLE_I18N): Pretty printing.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/ChangeLog3
-rw-r--r--nptl/libc-cancellation.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index c44f1f5ab3..e79356a6ce 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,5 +1,8 @@
2003-02-23 Ulrich Drepper <drepper@redhat.com>
+ * libc-cancellation.c (__libc_enable_asynccancel): Correct test
+ for failed cmpxchg.
+
* pthread_create.c (start_thread): Set EXITING_BIT early.
* sysdeps/i386/tls.h (THREAD_GETMEM): Mark asm as volatile.
diff --git a/nptl/libc-cancellation.c b/nptl/libc-cancellation.c
index af56891007..d9ad94fa61 100644
--- a/nptl/libc-cancellation.c
+++ b/nptl/libc-cancellation.c
@@ -47,7 +47,7 @@ __libc_enable_asynccancel (void)
break;
if (atomic_compare_and_exchange_acq (&self->cancelhandling, newval,
- oldval) == 0)
+ oldval) != 0)
/* Somebody else modified the word, try again. */
continue;