]> sourceware.org Git - glibc.git/commitdiff
(write_locale_data): Don't add extra slash in filename.
authorUlrich Drepper <drepper@redhat.com>
Tue, 5 Sep 2000 05:43:04 +0000 (05:43 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 5 Sep 2000 05:43:04 +0000 (05:43 +0000)
locale/programs/locfile.c

index 941bffd34ada0830d6c84bd8450b8089ed5a5aad..082524821a871d2ab18e104f3373f52ea690068b 100644 (file)
@@ -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;
This page took 0.042771 seconds and 5 git commands to generate.