1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +03:00

Update for TC change.

This commit is contained in:
Ulrich Drepper
2003-03-10 18:59:25 +00:00
parent d38c777e8d
commit f39f0b9397
3 changed files with 6 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
/* Validate a thread handle.
Copyright (C) 1999, 2001, 2002 Free Software Foundation, Inc.
Copyright (C) 1999, 2001, 2002, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 1999.
@@ -32,7 +32,7 @@ check_thread_list (const td_thrhandle_t *th, psaddr_t head)
return TD_ERR; /* XXX Other error value? */
while (list.next != head)
if ((psaddr_t) list.next - offsetof (struct pthread, header.data.list)
if ((psaddr_t) list.next - offsetof (struct pthread, list)
== th->th_unique)
{
result = TD_OK;