Update.
2004-03-26 Thorsten Kukuk <kukuk@suse.de> * nis/nss_nis/nis-grp.c (_nss_nis_getgrnam_r): Don't set errno if group does not exist.
This commit is contained in:
parent
3bd1aa475d
commit
0b3b45f937
@ -1,3 +1,8 @@
|
||||
2004-03-26 Thorsten Kukuk <kukuk@suse.de>
|
||||
|
||||
* nis/nss_nis/nis-grp.c (_nss_nis_getgrnam_r): Don't
|
||||
set errno if group does not exist.
|
||||
|
||||
2004-03-28 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Handle
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1996-1999, 2001, 2002, 2003 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1996-1999, 2001-2003, 2004 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Thorsten Kukuk <kukuk@suse.de>, 1996.
|
||||
|
||||
@ -168,9 +168,7 @@ _nss_nis_getgrnam_r (const char *name, struct group *grp,
|
||||
|
||||
if (retval != NSS_STATUS_SUCCESS)
|
||||
{
|
||||
if (retval == NSS_STATUS_NOTFOUND)
|
||||
*errnop = EAGAIN;
|
||||
else if (retval == NSS_STATUS_TRYAGAIN)
|
||||
if (retval == NSS_STATUS_TRYAGAIN)
|
||||
*errnop = errno;
|
||||
return retval;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user