Skip to content

Commit

Permalink
Fix spurious UNAVAIL status is getaddrinfo
Browse files Browse the repository at this point in the history
(cherry picked from commit c3dfadb)
  • Loading branch information
Andreas Schwab committed Apr 9, 2010
1 parent ddb11ab commit 32494f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2010-03-25 Andreas Schwab <schwab@redhat.com>

* sysdeps/posix/getaddrinfo.c (gaih_inet): Reset no_data before
each action.

2010-03-09 David S. Miller <davem@davemloft.net>

* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handling
Expand Down
1 change: 1 addition & 0 deletions sysdeps/posix/getaddrinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,7 @@ gaih_inet (const char *name, const struct gaih_service *service,

while (!no_more)
{
no_data = 0;
nss_gethostbyname4_r fct4
= __nss_lookup_function (nip, "gethostbyname4_r");
if (fct4 != NULL)
Expand Down

0 comments on commit 32494f9

Please sign in to comment.