From 16fe0a88352bf68169c025831163437754be861f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 5 Sep 2000 05:52:09 +0000 Subject: Update. 2000-09-04 Ulrich Drepper * locale/programs/localedef.c (construct_output_path): Correct computation of endp after asprintf. * locale/programs/locfile.c (write_locale_data): Don't add extra slash in filename. --- locale/programs/localedef.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'locale') diff --git a/locale/programs/localedef.c b/locale/programs/localedef.c index 719cfd3bb7..0a60d5c209 100644 --- a/locale/programs/localedef.c +++ b/locale/programs/localedef.c @@ -374,7 +374,7 @@ construct_output_path (char *path) output_prefix ?: "", LOCALEDIR, (int) (startp - path), path, normal, endp, '\0'); - endp = result + n; + endp = result + n - 1; } else { -- cgit v1.2.3