about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-12-08 18:54:19 +0000
committerUlrich Drepper <drepper@redhat.com>1999-12-08 18:54:19 +0000
commit85cb60ffd7585e71a3d53451d0b7f0fba4e4122f (patch)
treedb07eb6c05443367d4b0f314c1c634382b6ac82d
parent5ad81f408575e08b47eac609161dfa12c57da671 (diff)
downloadglibc-85cb60ffd7585e71a3d53451d0b7f0fba4e4122f.tar.gz
glibc-85cb60ffd7585e71a3d53451d0b7f0fba4e4122f.tar.xz
glibc-85cb60ffd7585e71a3d53451d0b7f0fba4e4122f.zip
Update.
	* locale/programs/ld-ctype.c (set_class_defaults): Correctly
	determine tolower mapping for 8bit table if the tolower keyword is
	not given.
-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)