diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-05-15 12:33:11 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-05-15 12:33:11 +0530 |
commit | cf26a0cb6a0bbaca46a01ddad6662e5e5159a32a (patch) | |
tree | e35a017c56bf53210467f323f037436b3cc9f5ab /ChangeLog | |
parent | a5d87b3db4f40a0f07e41f1986ac7f330743a0e7 (diff) | |
download | glibc-cf26a0cb6a0bbaca46a01ddad6662e5e5159a32a.tar.gz glibc-cf26a0cb6a0bbaca46a01ddad6662e5e5159a32a.tar.xz glibc-cf26a0cb6a0bbaca46a01ddad6662e5e5159a32a.zip |
Return EAI_AGAIN for AF_UNSPEC when herrno is TRY_AGAIN (BZ #16849)
getaddrinfo correctly returns EAI_AGAIN for AF_INET and AF_INET6 queries. For AF_UNSPEC however, an older change (a682a1bf553b1efe4dbb03207fece5b719cec482) broke the check and due to that the returned error was EAI_NONAME. This patch fixes the check so that a non-authoritative not-found is returned as EAI_AGAIN to the user instead of EAI_NONAME.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index fc822fe9a1..079e1ed0ac 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com> + + [BZ #16849] + * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for + herrno to return EAI_AGAIN. + 2014-05-14 Roland McGrath <roland@hack.frob.com> * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ... |