diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-12-10 15:44:26 -0800 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-12-10 15:44:26 -0800 |
commit | a682a1bf553b1efe4dbb03207fece5b719cec482 (patch) | |
tree | 939b7263f78622f41b108bd6cd1906c2f730da44 /nss | |
parent | 633bbc1d9199b63b0bccaef57bbd15878a5980cc (diff) | |
download | glibc-a682a1bf553b1efe4dbb03207fece5b719cec482.tar glibc-a682a1bf553b1efe4dbb03207fece5b719cec482.tar.gz glibc-a682a1bf553b1efe4dbb03207fece5b719cec482.tar.bz2 glibc-a682a1bf553b1efe4dbb03207fece5b719cec482.zip |
Fix a few error cases in *name4_r lookup handling.
Diffstat (limited to 'nss')
-rw-r--r-- | nss/nss_files/files-hosts.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nss/nss_files/files-hosts.c b/nss/nss_files/files-hosts.c index 68fb969937..e5f5b48b72 100644 --- a/nss/nss_files/files-hosts.c +++ b/nss/nss_files/files-hosts.c @@ -423,6 +423,11 @@ _nss_files_gethostbyname4_r (const char *name, struct gaih_addrtuple **pat, if (! keep_stream) internal_endent (); } + else if (status == NSS_STATUS_TRYAGAIN) + { + *errnop = errno; + *herrnop = TRY_AGAIN; + } else { *errnop = errno; |