aboutsummaryrefslogtreecommitdiffstats
path: root/src/cp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cp.c')
-rw-r--r--src/cp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cp.c b/src/cp.c
index 57450dbd4..317d667ce 100644
--- a/src/cp.c
+++ b/src/cp.c
@@ -742,7 +742,7 @@ do_copy (int n_files, char **file, char const *target_directory,
ASSIGN_STRDUPA (arg_base, last_component (arg));
strip_trailing_slashes (arg_base);
/* For 'cp -R source/.. dest', don't copy into 'dest/..'. */
- arg_base += STREQ (arg_base, "..");
+ arg_base += streq (arg_base, "..");
dst_name = file_name_concat (target_directory, arg_base,
&arg_in_concat);
}
@@ -802,7 +802,7 @@ do_copy (int n_files, char **file, char const *target_directory,
if (x->unlink_dest_after_failed_open
&& x->backup_type != no_backups
- && STREQ (source, dest)
+ && streq (source, dest)
&& !new_dst
&& (sb.st_mode != 0 || stat (dest, &sb) == 0) && S_ISREG (sb.st_mode))
{