mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 10:50:07 +00:00
Update.
2004-03-29 Ulrich Drepper <drepper@redhat.com> * nss/getXXbyYY_r.c: Return 0 for NSS_STATUS_NOTFOUND.
This commit is contained in:
parent
0b3b45f937
commit
95479dc273
@ -1,3 +1,7 @@
|
||||
2004-03-29 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* nss/getXXbyYY_r.c: Return 0 for NSS_STATUS_NOTFOUND.
|
||||
|
||||
2004-03-26 Thorsten Kukuk <kukuk@suse.de>
|
||||
|
||||
* nis/nss_nis/nis-grp.c (_nss_nis_getgrnam_r): Don't
|
||||
|
@ -246,7 +246,7 @@ done:
|
||||
#endif
|
||||
|
||||
int res;
|
||||
if (status == NSS_STATUS_SUCCESS)
|
||||
if (status == NSS_STATUS_SUCCESS || status == NSS_STATUS_NOTFOUND)
|
||||
res = 0;
|
||||
/* Don't pass back ERANGE if this is not for a too-small buffer. */
|
||||
else if (errno == ERANGE && status != NSS_STATUS_TRYAGAIN)
|
||||
|
Loading…
Reference in New Issue
Block a user