diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-04-07 21:09:12 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-04-07 21:09:12 +0000 |
commit | 69b35e862fd5c72d77485165a6ae310fe77570fb (patch) | |
tree | 0cacb7e14c8b115e8ee12d8a35be720eb7a22e85 /nptl/pthread_detach.c | |
parent | e8b0d4a143c83fea55308ec0a8b55deade1c9035 (diff) | |
download | glibc-69b35e862fd5c72d77485165a6ae310fe77570fb.tar glibc-69b35e862fd5c72d77485165a6ae310fe77570fb.tar.gz glibc-69b35e862fd5c72d77485165a6ae310fe77570fb.tar.bz2 glibc-69b35e862fd5c72d77485165a6ae310fe77570fb.zip |
Update.
2003-04-07 Ulrich Drepper <drepper@redhat.com>
* pthread_detach.c (pthread_detach): Fix test for invalid TID.
Diffstat (limited to 'nptl/pthread_detach.c')
-rw-r--r-- | nptl/pthread_detach.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/pthread_detach.c b/nptl/pthread_detach.c index ce13a2cfde..1f0c2fe7ce 100644 --- a/nptl/pthread_detach.c +++ b/nptl/pthread_detach.c @@ -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; |