2000-01-18  Ulrich Drepper  <drepper@cygnus.com>

	* locale/programs/charmap.c: NUL-terminte names of generated
	entries for ellipsis.
This commit is contained in:
Ulrich Drepper 2000-01-19 05:28:48 +00:00
parent e3a7ff8749
commit 9deb2b365c
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2000-01-18 Ulrich Drepper <drepper@cygnus.com>
* locale/programs/charmap.c: NUL-terminte names of generated
entries for ellipsis.
2000-01-18 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/i386/lxstat.c: New file, handles 32bit UIDs.

View File

@ -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);