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.
This commit is contained in:
Ulrich Drepper 2000-09-05 05:52:09 +00:00
parent 5e6160ede7
commit 16fe0a8835
2 changed files with 8 additions and 1 deletions

View File

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

View 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
{