From 9deb2b365c885d912b7733b828df42668f176f2c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 19 Jan 2000 05:28:48 +0000 Subject: Update. 2000-01-18 Ulrich Drepper * locale/programs/charmap.c: NUL-terminte names of generated entries for ellipsis. --- ChangeLog | 5 +++++ locale/programs/charmap.c | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index b5d53a5d85..227916c576 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-01-18 Ulrich Drepper + + * locale/programs/charmap.c: NUL-terminte names of generated + entries for ellipsis. + 2000-01-18 Andreas Jaeger * sysdeps/unix/sysv/linux/i386/lxstat.c: New file, handles 32bit UIDs. diff --git a/locale/programs/charmap.c b/locale/programs/charmap.c index 9f2d8d4bf4..2f9e1b3a06 100644 --- a/locale/programs/charmap.c +++ b/locale/programs/charmap.c @@ -898,6 +898,7 @@ hexadecimal range format should use only capital characters")); char *name_end; obstack_printf (ob, decimal_ellipsis ? "%.*s%0*d" : "%.*s%0*X", prefix_len, from, len1 - prefix_len, cnt); + obstack_1grow (ob, '\0'); name_end = obstack_finish (ob); newp = (struct charseq *) obstack_alloc (ob, sizeof (*newp) + nbytes); -- cgit v1.2.3