diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-01-11 01:06:11 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-01-11 01:06:11 +0000 |
commit | d77a71c5fe3c716d708be5f283b4845040dcf26e (patch) | |
tree | 4d28331f4e3e1fc36837df3fc8e63cf589a66145 /sysdeps/generic | |
parent | ab92bebd3ed6f747d6e82f4e2e068395db4df90c (diff) | |
download | glibc-d77a71c5fe3c716d708be5f283b4845040dcf26e.tar.gz glibc-d77a71c5fe3c716d708be5f283b4845040dcf26e.tar.xz glibc-d77a71c5fe3c716d708be5f283b4845040dcf26e.zip |
Update.
2002-01-09 Jakub Jelinek <jakub@redhat.com> * elf/elf.h (SHN_UNDEF): Remove duplicate definition. 2002-01-09 Jakub Jelinek <jakub@redhat.com> * sysdeps/alpha/fpu/e_sqrt.c (__ieee754_sqrt): Don't use multi-line string literals. (__full_ieee754_sqrt): Add __attribute_used__. 2002-01-10 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/group_member.c (__group_member): Also check groups[0] [PR libc/2781].
Diffstat (limited to 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/group_member.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/group_member.c b/sysdeps/generic/group_member.c index 416abfab2a..7bd9c46ba2 100644 --- a/sysdeps/generic/group_member.c +++ b/sysdeps/generic/group_member.c @@ -1,5 +1,5 @@ /* `group_member' -- test if process is in a given group. - Copyright (C) 1995, 1997 Free Software Foundation, Inc. + Copyright (C) 1995, 1997, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -41,7 +41,7 @@ __group_member (gid) size *= 2; } while (n == size / 2); - while (n > 0) + while (n >= 0) if (groups[n--] == gid) return 1; |