1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00

Fix a few error cases in *name4_r lookup handling.

This commit is contained in:
Ulrich Drepper
2009-12-10 15:44:26 -08:00
parent 633bbc1d91
commit a682a1bf55
5 changed files with 75 additions and 56 deletions

View File

@ -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;