mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 07:10:06 +00:00
Fix encoding name for IDN in getaddrinfo
This commit is contained in:
parent
85188888f6
commit
2e96f1c73b
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user