diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-03-29 20:17:33 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-03-29 20:17:33 +0000 |
commit | 95479dc273d889da860a94fc28cb5683d98189e1 (patch) | |
tree | d2ee33858b4b2e6f100e05b29fc9cf8ccbfb6bd5 | |
parent | 0b3b45f937d8849f8f3655c4b970cd955ad7a894 (diff) | |
download | glibc-95479dc273d889da860a94fc28cb5683d98189e1.tar.gz glibc-95479dc273d889da860a94fc28cb5683d98189e1.tar.xz glibc-95479dc273d889da860a94fc28cb5683d98189e1.zip |
Update.
2004-03-29 Ulrich Drepper <drepper@redhat.com> * nss/getXXbyYY_r.c: Return 0 for NSS_STATUS_NOTFOUND.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | nss/getXXbyYY_r.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 4194877579..5bc34ad3c7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/nss/getXXbyYY_r.c b/nss/getXXbyYY_r.c index 999df4198d..b17f33c8e0 100644 --- a/nss/getXXbyYY_r.c +++ b/nss/getXXbyYY_r.c @@ -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) |