diff options
author | Thomas Claveirole <thomas.claveirole@green-communications.fr> | 2016-02-02 12:13:09 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-02-02 21:31:16 +0100 |
commit | 5e9a78c8a839381add6faa61e196e6dad9143163 (patch) | |
tree | 12fc154478fe96d06fa8ed4402ecacfb04a544ca /libpthread/linuxthreads/pthread_seteuid.c | |
parent | 003b266cbeb370a8eae91dc256197f00798c6f93 (diff) |
include/netdb.h: Do not define IDN-related flags.
getaddrinfo() does not implement IDN encoding, and always fail when
provided an IDN flag (e.g., AI_IDN) with EAI_BADFLAGS. Some packages
(such as the VLC media player) check for AI_IDN before they use it;
providing an unimplemented AI_IDN in the libc makes these package
fail. As a result they make calls to getaddrinfo() with AI_IDN that
always fail while they could have made successful calls without AI_IDN
instead.
Thus, do not define IDN flags: it is better not to compile rather than
to compile a code that always fail.
Signed-off-by: Thomas Claveirole <thomas.claveirole@green-communications.fr>
Diffstat (limited to 'libpthread/linuxthreads/pthread_seteuid.c')
0 files changed, 0 insertions, 0 deletions