summaryrefslogtreecommitdiffstats
path: root/gettext-tools/src/write-java.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-02-25 15:53:15 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:14:41 +0200
commita0028d89d917d3faafed7dd20bbd72b077613809 (patch)
treea54c83ca08b26b7f070f6ff8ca1da5e9165ef78d /gettext-tools/src/write-java.c
parent8dac033df0dbfa570eb5834a6844db46d6e8c115 (diff)
downloadexternal_gettext-a0028d89d917d3faafed7dd20bbd72b077613809.zip
external_gettext-a0028d89d917d3faafed7dd20bbd72b077613809.tar.gz
external_gettext-a0028d89d917d3faafed7dd20bbd72b077613809.tar.bz2
Module 'pathname' was renamed to 'filename'.
Diffstat (limited to 'gettext-tools/src/write-java.c')
-rw-r--r--gettext-tools/src/write-java.c10
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