Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 5 Sep 2000 05:52:09 +0000 (05:52 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 5 Sep 2000 05:52:09 +0000 (05:52 +0000)
2000-09-04  Ulrich Drepper  <drepper@redhat.com>

* 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.

ChangeLog
locale/programs/localedef.c

index d13c997..79395dc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2000-09-04  Ulrich Drepper  <drepper@redhat.com>
+
+       * 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.
+
 2000-09-05  Andreas Jaeger  <aj@suse.de>
 
        * scripts/config.guess: New upstream version.
index 719cfd3..0a60d5c 100644 (file)
@@ -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
     {