about summary refs log tree commit diff
path: root/linuxthreads/cancel.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-11-07 00:43:08 +0000
committerUlrich Drepper <drepper@redhat.com>2000-11-07 00:43:08 +0000
commit632b6761c348150e018c42ee06265794668d9180 (patch)
treeb5527858c05c5f081f1a856a07e2d66baab9aeec /linuxthreads/cancel.c
parent1324affa186eff814fde274a524a57b611ce71be (diff)
downloadglibc-632b6761c348150e018c42ee06265794668d9180.tar.gz
glibc-632b6761c348150e018c42ee06265794668d9180.tar.xz
glibc-632b6761c348150e018c42ee06265794668d9180.zip
Update.
2000-11-06  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/big5.c: Regenerated after BIG5 charmap change.
	Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.

	* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Fix typo in
	comparison with new cache magic bytes.
	Patch by Denis Zaitsev <zzz@cd-club.ru>.

2000-11-03  Bruno Haible  <haible@clisp.cons.org>

	* locale/C-translit.h.in: Update from translit_neutral.
	* locale/C-translit.h: Regenerated.
	* intl/tst-translit.c: Update.
Diffstat (limited to 'linuxthreads/cancel.c')
-rw-r--r--linuxthreads/cancel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linuxthreads/cancel.c b/linuxthreads/cancel.c
index 370a373c77..40f9db5302 100644
--- a/linuxthreads/cancel.c
+++ b/linuxthreads/cancel.c
@@ -65,6 +65,7 @@ int pthread_cancel(pthread_t thread)
   th = handle->h_descr;
 
   if (th->p_cancelstate == PTHREAD_CANCEL_DISABLE || th->p_canceled) {
+    th->p_canceled = 1;
     __pthread_unlock(&handle->h_lock);
     return 0;
   }