Update.
authorUlrich Drepper <drepper@redhat.com>
Mon, 7 Apr 2003 21:09:12 +0000 (21:09 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 7 Apr 2003 21:09:12 +0000 (21:09 +0000)
2003-04-07  Ulrich Drepper  <drepper@redhat.com>

* pthread_detach.c (pthread_detach): Fix test for invalid TID.

nptl/ChangeLog
nptl/pthread_detach.c

index 7bfcef8..1ff2800 100644 (file)
@@ -1,3 +1,7 @@
+2003-04-07  Ulrich Drepper  <drepper@redhat.com>
+
+       * pthread_detach.c (pthread_detach): Fix test for invalid TID.
+
 2003-04-06  Ulrich Drepper  <drepper@redhat.com>
 
        * descr.h (struct pthread): Move cancelhandling member to the front.
index ce13a2c..1f0c2fe 100644 (file)
@@ -29,7 +29,7 @@ pthread_detach (th)
   struct pthread *pd = (struct pthread *) th;
 
   /* Make sure the descriptor is valid.  */
-  if (INVALID_TD_P (pd))
+  if (INVALID_NOT_TERMINATED_TD_P (pd))
     /* Not a valid thread handle.  */
     return ESRCH;