summaryrefslogtreecommitdiff
path: root/src/ln.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-06-02 05:13:57 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-06-02 05:13:57 +0000
commitaf455f034069eaefd9a35b5fdcbfeb258bdd15eb (patch)
tree68b396534176936b0462632d097b1ad6414feeb2 /src/ln.c
parent55b579a133e6ee511c2f9ad68bf585b134d6a914 (diff)
downloadcoreutils-af455f034069eaefd9a35b5fdcbfeb258bdd15eb.tar.xz
(FILE_BASENAME_CONCAT): Renamed from PATH_BASENAME_CONCAT.
All uses changed.
Diffstat (limited to 'src/ln.c')
-rw-r--r--src/ln.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ln.c b/src/ln.c
index a9bd65290..9f257e91f 100644
--- a/src/ln.c
+++ b/src/ln.c
@@ -1,5 +1,5 @@
/* `ln' program to create links between files.
- Copyright (C) 86, 89, 90, 91, 1995-2004 Free Software Foundation, Inc.
+ Copyright (C) 86, 89, 90, 91, 1995-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
@@ -56,7 +56,7 @@
/* Construct a string NEW_DEST by concatenating DEST, a slash, and
basename(SOURCE) in alloca'd memory. Don't modify DEST or SOURCE. */
-#define PATH_BASENAME_CONCAT(new_dest, dest, source) \
+#define FILE_BASENAME_CONCAT(new_dest, dest, source) \
do \
{ \
const char *source_base; \
@@ -193,7 +193,7 @@ do_link (const char *source, const char *dest, bool dest_is_dir)
{
/* Treat DEST as a directory; build the full filename. */
char *new_dest;
- PATH_BASENAME_CONCAT (new_dest, dest, source);
+ FILE_BASENAME_CONCAT (new_dest, dest, source);
dest = new_dest;
}