From 5ad81f408575e08b47eac609161dfa12c57da671 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 8 Dec 1999 09:15:00 +0000 Subject: Update. 1999-12-08 Ulrich Drepper * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has only IPv6 address. Reported by Artur Frysiak . --- BUGS | 3 +++ ChangeLog | 5 +++++ localedata/ChangeLog | 14 ++++++++++++++ sysdeps/posix/getaddrinfo.c | 4 +++- 4 files changed, 25 insertions(+), 1 deletion(-) diff --git a/BUGS b/BUGS index 53edfec..f62ceae 100644 --- a/BUGS +++ b/BUGS @@ -25,6 +25,9 @@ situations. Severity: [ *] to [***] +[** ] Closing shared objects in statically linked binaries most of the + times leads to crashes during the dlopen(). Hard to fix. + [ **] There are problems with signal handling when using LinuxThreads. [ **] The RPC code is not 64 bit clean. This is getting slowly fixed diff --git a/ChangeLog b/ChangeLog index 8872df8..f0b82ef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1999-12-08 Ulrich Drepper + + * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has + only IPv6 address. Reported by Artur Frysiak . + 1999-12-07 Jakub Jelinek * string/bits/string2.h (__memset_gc, __mempcpy_small, __strcpy_small, diff --git a/localedata/ChangeLog b/localedata/ChangeLog index 5b4f63e..0a237e2 100644 --- a/localedata/ChangeLog +++ b/localedata/ChangeLog @@ -1,3 +1,17 @@ +1999-12-08 Ulrich Drepper + + * repertoiremaps/mnemonic.ds: Add U066A, UFE80, UFE81, UFE83, + UFE85, and UFE8B. + * charmaps/IBM864: Add mapping for /x25, /xc1, /xc2, /xc3, /xc4, + and /xc6. + * charmaps/KOI8-U: Fix typo in /x95 entry. + * charmaps/KOI8-R: Correct 0x95 entry. + * charmaps/CP1258: Add /xEC. + * repertoiremaps/mnemonic.ds: Add U0300 and U0301. + * charmaps/IBM874: Add Euro. + * charmaps/ISO-8859-7: Map /xB4 to U0384. + Reported by Bruno Haible . + 1999-11-29 Ulrich Drepper * charmaps/ISO-8859-10: Correct alias. This charset was issued in diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c index ca8abc6..00788b7 100644 --- a/sysdeps/posix/getaddrinfo.c +++ b/sysdeps/posix/getaddrinfo.c @@ -368,14 +368,16 @@ gaih_inet (const char *name, const struct gaih_service *service, struct hostent *h; struct gaih_addrtuple **pat = &at; int no_data = 0; + int no_inet6_data; if (req->ai_family == AF_UNSPEC || req->ai_family == AF_INET6) gethosts (AF_INET6, struct in6_addr); + no_inet6_data = no_data; if (req->ai_family == AF_UNSPEC || req->ai_family == AF_INET) gethosts (AF_INET, struct in_addr); - if (no_data != 0) + if (no_data != 0 && no_inet6_data != 0) /* We made requests but they turned out no data. The name is known, though. */ return (GAIH_OKIFUNSPEC | -EAI_NODATA); -- cgit v1.1