mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
2.5-18.1
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 2002, 2003, 2006 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
||||
|
||||
@@ -52,8 +52,8 @@ __pthread_setspecific (key, value)
|
||||
}
|
||||
else
|
||||
{
|
||||
if (KEY_UNUSED ((seq = __pthread_keys[key].seq))
|
||||
|| key >= PTHREAD_KEYS_MAX)
|
||||
if (key >= PTHREAD_KEYS_MAX
|
||||
|| KEY_UNUSED ((seq = __pthread_keys[key].seq)))
|
||||
/* Not valid. */
|
||||
return EINVAL;
|
||||
|
||||
|
Reference in New Issue
Block a user