Corinna Vinschen
5b56e9b02b
* autoload.cc (IdnToAscii): Define.
...
(IdnToUnicode): Define.
(FreeAddrInfoW): Define.
(GetAddrInfoW): Define.
(GetNameInfoW): Define.
* net.cc: Drop W. Richard STEVENS libgai implementation.
(cygwin_freeaddrinfo): Move code from ipv4_freeaddrinfo here. Move
definition up in file to avoid forward declaration in ga_duplist.
(ga_dup): Take addrinfoW as input. Add parameters to get IDN flags
and to set error value. Handle IDN flags and especially AI_CANONIDN.
Convert input wchar_t ai_canonname string to multibyte for output.
(ga_duplist): Add parameters to get IDN flags and to set error value
and propagate to ga_dup. Call cygwin_freeaddrinfo.
(gai_errmap): Add comments. Align error strings to GLibc. Add
EAI_IDN_ENCODE entry.
(get_ipv6_funcs): Remove.
(load_ipv6_guard): Remove.
(ipv6_inited): Remove.
(load_ipv6): Remove.
(load_ipv6_funcs): Remove.
(cygwin_getaddrinfo): Drop calling load_ipv6. Handle AI_IDN* flags.
Convert input strings to wchar_t and call GetAddrInfoW/FreeAddrInfoW.
In case hints is NULL, set default ai_flags explicitely to
AI_V4MAPPED | AI_ADDRCONFIG, as documented for Glibc. Only add AI_ALL
if AI_ADDRCONFIG is not given. Unconditionally add Windows-specific
AI_DISABLE_IDN_ENCODING to ai_flags to make IDN behaviour compatible
to Glibc even on Windows 8 and later.
(cygwin_getnameinfo): Drop calling load_ipv6. Handle NI_IDN* flags.
Call GetNameInfoW and convert returned strings from wchar_t to
multibyte.
* include/netdb.h: Add comments to describe flags and error values.
(AI_*): Define all flags using hex values for clearness.
(AI_IDN): Define.
(AI_CANONIDN): Define.
(AI_IDN_ALLOW_UNASSIGNED): Define.
(AI_IDN_USE_STD3_ASCII_RULES): Define.
(NI_*): Define all flags using hex values for clearness.
(NI_IDN): Define.
(NI_IDN_ALLOW_UNASSIGNED): Define.
(NI_IDN_USE_STD3_ASCII_RULES): Define.
(EAI_IDN_ENCODE): Define.
2013-11-19 13:29:37 +00:00
..
2013-11-19 13:29:37 +00:00
2013-08-14 11:44:23 +00:00
2013-05-21 19:04:49 +00:00
2013-07-21 19:28:45 +00:00
2013-11-19 13:29:37 +00:00
2013-04-30 23:43:08 +00:00
2013-04-23 09:44:36 +00:00
2013-01-21 04:38:31 +00:00
2012-11-23 13:22:47 +00:00
2013-11-19 13:29:37 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-11-19 13:29:37 +00:00
2012-01-01 16:57:25 +00:00
2013-01-02 18:34:06 +00:00
2013-04-23 09:44:36 +00:00
2013-08-23 14:32:28 +00:00
2012-02-13 13:12:37 +00:00
2013-07-19 17:28:34 +00:00
2013-11-07 00:19:52 +00:00
2013-11-07 00:19:52 +00:00
2013-04-23 09:44:36 +00:00
2013-01-21 04:38:31 +00:00
2011-06-06 05:02:13 +00:00
2013-04-23 09:44:36 +00:00
2013-07-31 14:43:05 +00:00
2013-07-31 14:43:05 +00:00
2013-08-30 21:02:02 +00:00
2013-01-21 04:38:31 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2012-03-19 17:49:40 +00:00
2013-07-19 11:32:54 +00:00
2013-01-21 04:38:31 +00:00
2013-01-21 04:38:31 +00:00
2011-04-04 09:04:00 +00:00
2013-01-21 04:38:31 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-01-21 04:34:52 +00:00
2013-07-23 12:46:02 +00:00
2013-04-23 09:44:36 +00:00
2013-06-08 14:38:20 +00:00
2013-04-09 01:01:19 +00:00
2013-07-10 12:15:32 +00:00
2013-01-21 04:38:31 +00:00
2013-01-21 04:38:31 +00:00
2013-07-17 17:46:10 +00:00
2013-01-21 04:34:52 +00:00
2013-04-23 09:44:36 +00:00
2013-10-31 14:26:42 +00:00
2013-07-15 13:54:27 +00:00
2013-10-31 14:26:42 +00:00
2013-06-07 15:37:11 +00:00
2013-10-30 09:44:47 +00:00
2013-04-23 09:44:36 +00:00
2013-05-27 19:31:04 +00:00
2013-04-23 09:44:36 +00:00
2013-01-21 04:38:31 +00:00
2013-07-15 13:54:27 +00:00
2013-10-24 09:41:17 +00:00
2013-07-26 17:28:00 +00:00
2013-05-24 13:32:10 +00:00
2013-04-23 09:44:36 +00:00
2013-10-27 09:42:17 +00:00
2013-07-20 17:11:44 +00:00
2013-01-21 04:38:31 +00:00
2013-10-24 15:26:21 +00:00
2013-06-02 10:22:14 +00:00
2013-04-23 09:44:36 +00:00
2013-10-25 16:16:50 +00:00
2013-10-24 15:26:21 +00:00
2013-10-31 14:26:42 +00:00
2013-10-31 14:26:42 +00:00
2013-10-26 13:23:54 +00:00
2013-05-01 01:20:37 +00:00
2013-05-01 01:20:37 +00:00
2013-05-01 01:20:37 +00:00
2013-10-31 14:26:42 +00:00
2012-04-04 12:45:24 +00:00
2013-06-14 09:09:41 +00:00
2013-10-16 15:14:22 +00:00
2013-04-23 09:44:36 +00:00
2013-05-28 15:07:01 +00:00
2013-04-23 09:44:36 +00:00
2013-10-25 12:21:59 +00:00
2013-10-26 13:23:54 +00:00
2013-10-31 14:26:42 +00:00
2013-05-01 01:20:37 +00:00
2013-10-25 12:21:59 +00:00
2013-10-24 17:51:41 +00:00
2013-10-18 20:56:19 +00:00
2013-10-24 15:26:21 +00:00
2013-10-31 14:26:42 +00:00
2013-04-23 09:44:36 +00:00
2013-10-30 09:44:47 +00:00
2013-10-24 17:51:41 +00:00
2013-10-31 14:26:42 +00:00
2013-10-31 14:26:42 +00:00
2013-10-25 18:40:57 +00:00
2013-06-27 17:00:12 +00:00
2013-06-18 09:45:37 +00:00
2013-05-27 19:31:04 +00:00
2012-04-02 20:41:46 +00:00
2013-07-10 20:58:33 +00:00
2013-04-23 09:44:36 +00:00
2013-10-31 14:26:42 +00:00
2013-06-18 10:01:33 +00:00
2013-06-18 09:45:37 +00:00
2013-05-14 09:07:30 +00:00
2013-08-31 10:21:48 +00:00
2013-01-21 04:38:31 +00:00
2013-06-14 09:09:41 +00:00
2013-04-23 09:44:36 +00:00
2013-05-13 19:25:35 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-07-19 17:44:08 +00:00
2013-08-19 16:21:29 +00:00
2013-04-23 09:44:36 +00:00
2013-05-14 13:34:05 +00:00
2013-07-15 13:54:27 +00:00
2013-08-14 11:44:23 +00:00
2013-06-18 09:45:37 +00:00
2013-06-18 09:45:37 +00:00
2013-06-08 16:39:52 +00:00
2013-01-21 04:34:52 +00:00
2012-03-19 17:49:40 +00:00
2013-04-23 09:44:36 +00:00
2013-05-21 19:04:49 +00:00
2013-01-21 04:38:31 +00:00
2013-01-21 04:38:31 +00:00
2013-10-15 08:13:42 +00:00
2013-04-24 10:16:13 +00:00
2013-04-24 10:16:13 +00:00
2013-04-23 09:44:36 +00:00
2013-08-26 16:14:40 +00:00
2013-11-19 13:29:37 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-08-19 16:21:29 +00:00
2013-10-25 18:40:57 +00:00
2013-05-01 01:20:37 +00:00
2013-04-23 09:44:36 +00:00
2013-07-31 10:26:51 +00:00
2013-10-31 14:26:42 +00:00
2013-06-21 08:14:26 +00:00
2013-04-23 09:44:36 +00:00
2013-05-24 13:43:26 +00:00
2013-04-23 09:44:36 +00:00
2013-05-01 01:20:37 +00:00
2013-04-23 09:44:36 +00:00
2013-06-14 09:09:41 +00:00
2013-06-24 15:12:40 +00:00
2013-06-18 09:45:37 +00:00
2013-06-18 09:45:37 +00:00
2013-04-23 09:44:36 +00:00
2013-09-25 14:44:45 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-01-21 04:38:31 +00:00
2013-04-23 09:44:36 +00:00
2013-06-14 09:09:41 +00:00
2013-01-21 04:38:31 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-06-10 15:33:12 +00:00
2013-05-01 01:20:37 +00:00
2013-04-23 09:44:36 +00:00
2013-04-24 10:16:13 +00:00
2013-10-30 09:44:47 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2011-04-04 09:04:00 +00:00
2013-05-23 14:23:01 +00:00
2013-08-30 21:02:02 +00:00
2013-04-23 09:44:36 +00:00
2013-05-01 01:20:37 +00:00
2013-08-30 15:44:57 +00:00
2013-09-25 15:58:45 +00:00
2013-05-01 01:20:37 +00:00
2013-08-23 18:19:46 +00:00
2013-04-23 09:44:36 +00:00
2013-05-22 16:55:55 +00:00
2013-04-23 09:44:36 +00:00
2013-07-19 17:28:34 +00:00
2013-01-21 04:38:31 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-05-21 10:04:45 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-09-25 14:44:45 +00:00
2013-07-23 14:15:20 +00:00
2013-04-23 09:44:36 +00:00
2013-06-17 08:33:41 +00:00
2013-01-21 04:38:31 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-10-18 20:07:35 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-07-11 11:20:38 +00:00
2013-07-31 15:19:18 +00:00
2013-04-23 09:44:36 +00:00
2013-01-21 04:34:52 +00:00
2013-04-23 09:44:36 +00:00
2013-06-14 15:41:17 +00:00
2013-06-14 15:41:17 +00:00
2013-05-01 01:20:37 +00:00
2013-06-19 16:00:43 +00:00
2013-07-19 22:44:02 +00:00
2013-01-21 04:34:52 +00:00
2013-04-23 09:44:36 +00:00
2013-06-14 09:09:41 +00:00
2013-06-11 07:46:40 +00:00
2013-04-23 09:44:36 +00:00
2013-04-23 09:44:36 +00:00
2013-05-13 19:25:35 +00:00