- 2011-06-21 Andreas Schwab <schwab@redhat.com>
+ 2011-06-27 Andreas Schwab <schwab@redhat.com>
- * iconvdata/gb18030.c: Regenerate tables.
+ * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
+ two-byte characters.
+
+ 2011-06-22 Andreas Schwab <schwab@redhat.com>
+
+ * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
- 2011-06-16 Andreas Schwab <schwab@redhat.com>
+ 2011-06-21 Ulrich Drepper <drepper@gmail.com>
[BZ #12885]
- * sysdeps/posix/getaddrinfo.c (gaih_inet): Filter results from
- gethostbyname4_r according to request flags.
+ * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
+ addresses using gethostbyname4_r ignore IPv4 addresses.
+
++2011-06-21 Andreas Schwab <schwab@redhat.com>
++
++ * iconvdata/gb18030.c: Regenerate tables.
+
2011-06-15 Ulrich Drepper <drepper@gmail.com>
* resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
else if (cp[0] == 0 && cp[1] == 0) \
len = 0; \
} \
+ else if (ch >= 0xFFE6 && ch <= 0xFFFF) \
+ { \
+ idx = ch - 0x6604; \
+ len = 4; \
+ } \
else if (ch == 0x20087) \
- idx = 0xfe51; \
+ cp = (const unsigned char *) "\xfe\x51"; \
else if (ch == 0x20089) \
- idx = 0xfe52; \
+ cp = (const unsigned char *) "\xfe\x52"; \
else if (ch == 0x200CC) \
- idx = 0xfe53; \
+ cp = (const unsigned char *) "\xfe\x53"; \
else if (ch == 0x215d7) \
- idx = 0xfe6c; \
+ cp = (const unsigned char *) "\xfe\x6c"; \
else if (ch == 0x2298F) \
- idx = 0xfe76; \
+ cp = (const unsigned char *) "\xfe\x76"; \
else if (ch == 0x241FE) \
- idx = 0xfe91; \
+ cp = (const unsigned char *) "\xfe\x91"; \
+ else if (ch >= 0x10000 && ch <= 0x10FFFF) \
+ { \
+ idx = ch + 0x1E248; \
+ len = 4; \
+ } \
else \
len = 0; \
\