aboutsummaryrefslogtreecommitdiff
path: root/locale/programs/ld-ctype.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-12-20 22:08:01 +0000
committerUlrich Drepper <drepper@redhat.com>1999-12-20 22:08:01 +0000
commitb06c53e77dd2f6598ac8c45fa8f021db1bc17145 (patch)
tree152a936d40224a7ddb60177347650a5d3726ca10 /locale/programs/ld-ctype.c
parent9197f26fd5948b29616a4183c00d8e2898712a05 (diff)
downloadglibc-b06c53e77dd2f6598ac8c45fa8f021db1bc17145.tar
glibc-b06c53e77dd2f6598ac8c45fa8f021db1bc17145.tar.gz
glibc-b06c53e77dd2f6598ac8c45fa8f021db1bc17145.tar.bz2
glibc-b06c53e77dd2f6598ac8c45fa8f021db1bc17145.zip
Update.
1999-12-20 Ulrich Drepper <drepper@cygnus.com> * locale/categories.def: Remove most of the collate definitions. * locale/langinfo.h: Comment out corresponding definitions. * locale/programs/locale-spec.c (locale_special): Don't recognize the collate names yet. * locale/programs/ld-collate.c: Correct and optimize computation of weights. Set up list of all definitions correctly. Start writing function to generate output file. * locale/programs/ld-ctype.c (allocate_arrays): Increment counter in loop to compute default mapping.
Diffstat (limited to 'locale/programs/ld-ctype.c')
-rw-r--r--locale/programs/ld-ctype.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c
index 5dcb01360f..86d086021d 100644
--- a/locale/programs/ld-ctype.c
+++ b/locale/programs/ld-ctype.c
@@ -3071,11 +3071,14 @@ Computing table size for character classes might take a while..."),
ctype->map32[idx][idx2] = ctype->map_collection[idx][idx2];
while (idx2 < ctype->map_collection_act[idx])
- if (ctype->map_collection[idx][idx2] != 0)
- *find_idx (ctype, &ctype->map32[idx],
- &ctype->map_collection_max[idx],
- &ctype->map_collection_act[idx],
- ctype->names[idx2]) = ctype->map_collection[idx][idx2];
+ {
+ if (ctype->map_collection[idx][idx2] != 0)
+ *find_idx (ctype, &ctype->map32[idx],
+ &ctype->map_collection_max[idx],
+ &ctype->map_collection_act[idx],
+ ctype->names[idx2]) = ctype->map_collection[idx][idx2];
+ ++idx2;
+ }
}
/* Extra array for class and map names. */