diff options
author | Jim Meyering <jim@meyering.net> | 1995-10-30 17:53:48 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-10-30 17:53:48 +0000 |
commit | f05befc26c046bb3ba37a8de003a3c38c7711a58 (patch) | |
tree | e3187a3d3b01d60347ff577a9dca3a7218756b47 /src | |
parent | 96e22ecc78dfa35710ae055b9fb913787c52c4d3 (diff) | |
download | coreutils-f05befc26c046bb3ba37a8de003a3c38c7711a58.tar.xz |
(copy): Update one of the calls to eaccess_stat to use 3 arguments. Ugh!
Diffstat (limited to 'src')
-rw-r--r-- | src/cp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -594,7 +594,7 @@ copy (src_path, dst_path, new_dst, device, ancestors) if (S_ISDIR (dst_sb.st_mode)) { /* Temporarily change mode to allow overwriting. */ - if (eaccess_stat (&dst_sb, W_OK | X_OK) != 0) + if (eaccess_stat (&dst_sb, W_OK | X_OK, dst_path) != 0) { if (chmod (dst_path, 0700)) { |