aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--locale/programs/ld-ctype.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index f0b82efe7c..9d4ea7ce71 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
1999-12-08 Ulrich Drepper <drepper@cygnus.com>
+ * locale/programs/ld-ctype.c (set_class_defaults): Correctly
+ determine tolower mapping for 8bit table if the tolower keyword is
+ not given.
+
* sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has
only IPv6 address. Reported by Artur Frysiak <wiget@pld.org.pl>.
diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c
index 6273663933..a379b23ab9 100644
--- a/locale/programs/ld-ctype.c
+++ b/locale/programs/ld-ctype.c
@@ -2848,8 +2848,7 @@ character `%s' not defined while needed as default value"),
for (cnt = 0; cnt < 256; ++cnt)
if (ctype->map256_collection[0][cnt] != 0)
- ctype->map_collection[1][ctype->map_collection[0][cnt]]
- = ctype->charnames[cnt];
+ ctype->map256_collection[1][ctype->map256_collection[0][cnt]] = cnt;
}
if (ctype->outdigits_act == 0)