about summary refs log tree commit diff
path: root/locale/programs/repertoire.c
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 /locale/programs/repertoire.c
parent9e7e37198fbe68635621113967bdc535736062e5 (diff)
downloadglibc-1c95408c74ba3f50cd26c045d031f095b2fcf6e8.tar.gz
glibc-1c95408c74ba3f50cd26c045d031f095b2fcf6e8.tar.xz
glibc-1c95408c74ba3f50cd26c045d031f095b2fcf6e8.zip
Update.
	* locale/programs/repertoire.c (repertoire_new_char): NUL
	terminated names of character in range.
Diffstat (limited to 'locale/programs/repertoire.c')
-rw-r--r--locale/programs/repertoire.c1
1 files changed, 1 insertions, 0 deletions
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);