aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-12-08 09:15:00 +0000
committerUlrich Drepper <drepper@redhat.com>1999-12-08 09:15:00 +0000
commit5ad81f408575e08b47eac609161dfa12c57da671 (patch)
tree14e25a243b7b73e00cbd8917126c610094e0b4b6
parent7eda722de5ee2e56f6590641e190ddc66fb60eb5 (diff)
downloadglibc-5ad81f408575e08b47eac609161dfa12c57da671.zip
glibc-5ad81f408575e08b47eac609161dfa12c57da671.tar.gz
glibc-5ad81f408575e08b47eac609161dfa12c57da671.tar.bz2
Update.
1999-12-08 Ulrich Drepper <drepper@cygnus.com> * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has only IPv6 address. Reported by Artur Frysiak <wiget@pld.org.pl>.
-rw-r--r--BUGS3
-rw-r--r--ChangeLog5
-rw-r--r--localedata/ChangeLog14
-rw-r--r--sysdeps/posix/getaddrinfo.c4
4 files changed, 25 insertions, 1 deletions
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 <drepper@cygnus.com>
+
+ * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has
+ only IPv6 address. Reported by Artur Frysiak <wiget@pld.org.pl>.
+
1999-12-07 Jakub Jelinek <jakub@redhat.com>
* 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 <drepper@cygnus.com>
+
+ * 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 <haible@ilog.fr>.
+
1999-11-29 Ulrich Drepper <drepper@cygnus.com>
* 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);