diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-03-27 06:37:56 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-03-27 06:37:56 +0000 |
commit | 30e0f9c39978e52aefbcc54ef69efb439ea20ff5 (patch) | |
tree | 0543ba4606d2770e48769952db6a604f424c6945 /locale/programs/localedef.c | |
parent | 8e605e789df868763e388dca7040538c1de41b85 (diff) | |
download | glibc-30e0f9c39978e52aefbcc54ef69efb439ea20ff5.tar glibc-30e0f9c39978e52aefbcc54ef69efb439ea20ff5.tar.gz glibc-30e0f9c39978e52aefbcc54ef69efb439ea20ff5.tar.bz2 glibc-30e0f9c39978e52aefbcc54ef69efb439ea20ff5.zip |
Update.
* locale/programs/localedef.c (construct_output_path): If path
contains a / compute the end of the directory name correctly.
Diffstat (limited to 'locale/programs/localedef.c')
-rw-r--r-- | locale/programs/localedef.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/programs/localedef.c b/locale/programs/localedef.c index 9def7a38ad..e129c0c241 100644 --- a/locale/programs/localedef.c +++ b/locale/programs/localedef.c @@ -367,7 +367,7 @@ construct_output_path (char *path) memory allocation. */ size_t len = strlen (path) + 1; result = xmalloc (len + 1); - endp = mempcpy (result, path, len); + endp = mempcpy (result, path, len) - 1; } errno = 0; |