]> Git Repo - uclibc-ng.git/commit
include/netdb.h: Do not define IDN-related flags.
authorThomas Claveirole <[email protected]>
Tue, 2 Feb 2016 11:13:09 +0000 (12:13 +0100)
committerWaldemar Brodkorb <[email protected]>
Tue, 2 Feb 2016 20:31:16 +0000 (21:31 +0100)
commit5e9a78c8a839381add6faa61e196e6dad9143163
tree12fc154478fe96d06fa8ed4402ecacfb04a544ca
parent003b266cbeb370a8eae91dc256197f00798c6f93
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 <[email protected]>
include/netdb.h
This page took 0.025223 seconds and 4 git commands to generate.