From 97603a5d2adc889186f2934624a95c92dbfa2fdd Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 2 Jun 2005 05:17:24 +0000 Subject: Don't use "path" or "filename". --- src/copy.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/copy.h') diff --git a/src/copy.h b/src/copy.h index 90a47f73e..f90bb96d1 100644 --- a/src/copy.h +++ b/src/copy.h @@ -192,10 +192,10 @@ struct cp_options Hash_table *src_info; }; -# define XSTAT(X, Src_path, Src_sb) \ +# define XSTAT(X, Src_name, Src_sb) \ ((X)->dereference == DEREF_NEVER \ - ? lstat (Src_path, Src_sb) \ - : stat (Src_path, Src_sb)) + ? lstat (Src_name, Src_sb) \ + : stat (Src_name, Src_sb)) /* Arrange to make lstat calls go through the wrapper function on systems with an lstat function that does not dereference symlinks @@ -207,7 +207,7 @@ int rpl_lstat (const char *, struct stat *); # endif /* Arrange to make rename calls go through the wrapper function - on systems with a rename function that fails for a source path + on systems with a rename function that fails for a source file name specified with a trailing slash. */ # if RENAME_TRAILING_SLASH_BUG int rpl_rename (const char *, const char *); @@ -215,7 +215,7 @@ int rpl_rename (const char *, const char *); # define rename rpl_rename # endif -bool copy (const char *src_path, const char *dst_path, +bool copy (char const *src_name, char const *dst_name, bool nonexistent_dst, const struct cp_options *options, bool *copy_into_self, bool *rename_succeeded); -- cgit v1.2.3-54-g00ecf