aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-02-15 07:37:37 +0000
committerUlrich Drepper <drepper@redhat.com>2000-02-15 07:37:37 +0000
commit1c95408c74ba3f50cd26c045d031f095b2fcf6e8 (patch)
tree7f05b988c7af0c18a4f7640414fd8b7415050ebc
parent9e7e37198fbe68635621113967bdc535736062e5 (diff)
downloadglibc-1c95408c74ba3f50cd26c045d031f095b2fcf6e8.tar
glibc-1c95408c74ba3f50cd26c045d031f095b2fcf6e8.tar.gz
glibc-1c95408c74ba3f50cd26c045d031f095b2fcf6e8.tar.bz2
glibc-1c95408c74ba3f50cd26c045d031f095b2fcf6e8.zip
Update.
* locale/programs/repertoire.c (repertoire_new_char): NUL terminated names of character in range.
-rw-r--r--ChangeLog3
-rw-r--r--locale/programs/repertoire.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 646fefb372..b07a366306 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2000-02-14 Ulrich Drepper <drepper@redhat.com>
+ * locale/programs/repertoire.c (repertoire_new_char): NUL
+ terminated names of character in range.
+
* stdio-common/vfprintf.c (vfprintf): Initialize thousands_sep.
Define and initialize use_outdigits in the inner loops.
diff --git a/locale/programs/repertoire.c b/locale/programs/repertoire.c
index 8741c7d166..e7cf0bb9c4 100644
--- a/locale/programs/repertoire.c
+++ b/locale/programs/repertoire.c
@@ -462,6 +462,7 @@ hexadecimal range format should use only capital characters"));
obstack_printf (ob, decimal_ellipsis ? "%.*s%0*d" : "%.*s%0*X",
prefix_len, from, len1 - prefix_len, cnt);
+ obstack_1grow (ob, '\0');
insert_entry (ht, buf, len1,
(void *) (unsigned long int) this_value);