about summary refs log tree commit diff
diff options
context:
space:
mode:
-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);