diff options
Diffstat (limited to 'gettext-tools/src/write-java.c')
-rw-r--r-- | gettext-tools/src/write-java.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gettext-tools/src/write-java.c b/gettext-tools/src/write-java.c index 2f3af25..9e26e45 100644 --- a/gettext-tools/src/write-java.c +++ b/gettext-tools/src/write-java.c @@ -1,5 +1,5 @@ /* Writing Java ResourceBundles. - Copyright (C) 2001-2003, 2005-2006 Free Software Foundation, Inc. + Copyright (C) 2001-2003, 2005-2007 Free Software Foundation, Inc. Written by Bruno Haible <haible@clisp.cons.org>, 2001. This program is free software; you can redistribute it and/or modify @@ -73,7 +73,7 @@ #include "po-charset.h" #include "xalloc.h" #include "xallocsa.h" -#include "pathname.h" +#include "filename.h" #include "fwriteerror.h" #include "clean-temp.h" #include "utf8-ucs4.h" @@ -965,7 +965,7 @@ but the Java ResourceBundle format doesn't support contexts\n"))); char *part = (char *) xallocsa (n + 1); memcpy (part, p, n); part[n] = '\0'; - subdirs[i] = concatenated_pathname (last_dir, part, NULL); + subdirs[i] = concatenated_filename (last_dir, part, NULL); freesa (part); last_dir = subdirs[i]; p = q + 1; @@ -974,11 +974,11 @@ but the Java ResourceBundle format doesn't support contexts\n"))); if (locale_name != NULL) { char *suffix = xasprintf ("_%s.java", locale_name); - java_file_name = concatenated_pathname (last_dir, p, suffix); + java_file_name = concatenated_filename (last_dir, p, suffix); free (suffix); } else - java_file_name = concatenated_pathname (last_dir, p, ".java"); + java_file_name = concatenated_filename (last_dir, p, ".java"); } /* Create the subdirectories. This is needed because some older Java |