about summary refs log tree commit diff
path: root/nptl/libc-cancellation.c
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/libc-cancellation.c
parentfd1a0d0c7c23487e2ec8e1fc60036f1165f30ce1 (diff)
downloadglibc-5a6bbb41603dabf4afcdd30c9f714a74078a787b.tar.gz
glibc-5a6bbb41603dabf4afcdd30c9f714a74078a787b.tar.xz
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/libc-cancellation.c')
-rw-r--r--nptl/libc-cancellation.c2
1 files changed, 1 insertions, 1 deletions
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;