summaryrefslogtreecommitdiffstats
path: root/gettext-tools/src/open-catalog.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/open-catalog.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/open-catalog.c')
-rw-r--r--gettext-tools/src/open-catalog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gettext-tools/src/open-catalog.c b/gettext-tools/src/open-catalog.c
index 1d83826..441eac7 100644
--- a/gettext-tools/src/open-catalog.c
+++ b/gettext-tools/src/open-catalog.c
@@ -1,5 +1,5 @@
/* open-po - search for .po file along search path list and open for reading
- Copyright (C) 1995-1996, 2000-2003, 2005-2006 Free Software Foundation, Inc.
+ Copyright (C) 1995-1996, 2000-2003, 2005-2007 Free Software Foundation, Inc.
Written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, April 1995.
This program is free software; you can redistribute it and/or modify
@@ -30,7 +30,7 @@
#include <string.h>
#include "dir-list.h"
-#include "pathname.h"
+#include "filename.h"
#include "xalloc.h"
#include "xvasprintf.h"
#include "po-xerror.h"
@@ -63,7 +63,7 @@ try_open_catalog_file (const char *input_name, char **real_file_name_p)
{
for (k = 0; k < SIZEOF (extension); ++k)
{
- file_name = concatenated_pathname ("", input_name, extension[k]);
+ file_name = concatenated_filename ("", input_name, extension[k]);
ret_val = fopen (file_name, "r");
if (ret_val != NULL || errno != ENOENT)
@@ -84,7 +84,7 @@ try_open_catalog_file (const char *input_name, char **real_file_name_p)
for (j = 0; (dir = dir_list_nth (j)) != NULL; ++j)
for (k = 0; k < SIZEOF (extension); ++k)
{
- file_name = concatenated_pathname (dir, input_name, extension[k]);
+ file_name = concatenated_filename (dir, input_name, extension[k]);
ret_val = fopen (file_name, "r");
if (ret_val != NULL || errno != ENOENT)