summary refs log tree commit diff
path: root/locale
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-09-05 05:43:04 +0000
committerUlrich Drepper <drepper@redhat.com>2000-09-05 05:43:04 +0000
commit5e6160ede791dd645a4439498c4e025ad7bde368 (patch)
tree430ee8aa46484cf5df4d79958769e5feefd364c4 /locale
parent2e865507535720912609328e720d54c37bb9836c (diff)
downloadglibc-5e6160ede791dd645a4439498c4e025ad7bde368.tar.gz
glibc-5e6160ede791dd645a4439498c4e025ad7bde368.tar.xz
glibc-5e6160ede791dd645a4439498c4e025ad7bde368.zip
(write_locale_data): Don't add extra slash in filename.
Diffstat (limited to 'locale')
-rw-r--r--locale/programs/locfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/locale/programs/locfile.c b/locale/programs/locfile.c
index 941bffd34a..082524821a 100644
--- a/locale/programs/locfile.c
+++ b/locale/programs/locfile.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@gnu.org>, 1996.
 
@@ -337,7 +337,7 @@ write_locale_data (const char *output_path, const char *category,
      But for LC_MESSAGES we have to take care for the translation
      data.  This means we need to have a directory LC_MESSAGES in
      which we place the file under the name SYS_LC_MESSAGES.  */
-  sprintf (fname, "%s/%s", output_path, category);
+  sprintf (fname, "%s%s", output_path, category);
   if (strcmp (category, "LC_MESSAGES") == 0)
     {
       struct stat st;