getaddrinfo() AI_IDN feature test
Martin Lambers
marlam@marlam.de
Thu Jan 1 07:02:00 GMT 2015
Dear glibc folks,
I recently changed two programs to use the AI_IDN flag for
getaddrinfo() instead of using libidn.
Users reported runtime failure (EAI_BADFLAGS) on systems where glibc
was build without libidn support.
On these systems, AI_IDN was defined nevertheless -- is this intended
behaviour? If so, then #ifdef AI_IDN is not enough; what is the
recommended way to check if AI_IDN actually works?
Best regards,
Martin
More information about the Libc-help
mailing list