summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-06-02 04:58:26 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-06-02 04:58:26 +0000
commit3a0841772cdad328b7a4e81a4b9ab497e0375c94 (patch)
tree0c8038abab28ed44c8a060832f47f642639e1e13 /lib
parent0402bc11366bd7f3a86ea21c64d55e34b6f67e1b (diff)
downloadcoreutils-3a0841772cdad328b7a4e81a4b9ab497e0375c94.tar.xz
Renamed from path-concat.h. All includers changed.
(file_name_concat): Renamed from path_concat. All callers changed.
Diffstat (limited to 'lib')
-rw-r--r--lib/filenamecat.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/filenamecat.h b/lib/filenamecat.h
new file mode 100644
index 000000000..c943b67d7
--- /dev/null
+++ b/lib/filenamecat.h
@@ -0,0 +1,22 @@
+/* Concatenate two arbitrary file names.
+
+ Copyright (C) 1996, 1997, 2003, 2005 Free Software Foundation, Inc.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software Foundation,
+ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+
+/* Written by Jim Meyering. */
+
+char *file_name_concat (char const *dir, char const *base,
+ char **base_in_result);