Fix encoding name for IDN in getaddrinfo

This commit is contained in:
Andreas Schwab 2011-08-04 15:42:10 -04:00 committed by Ulrich Drepper
parent 85188888f6
commit 2e96f1c73b
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-07-26 Andreas Schwab <schwab@redhat.com>
* sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
encoding to ACE if AI_IDN.
2011-08-01 Jakub Jelinek <jakub@redhat.com>
* sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq

View File

@ -432,7 +432,10 @@ gaih_inet (const char *name, const struct gaih_service *service,
/* In case the output string is the same as the input string
no new string has been allocated. */
if (p != name)
malloc_name = true;
{
name = p;
malloc_name = true;
}
}
#endif