diff options
author | Jim Meyering <jim@meyering.net> | 1995-11-03 20:00:24 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-11-03 20:00:24 +0000 |
commit | 47306242ec31f2053e0494e7558d07a0bcc8dbb3 (patch) | |
tree | 8a87a2e8ce67d7eeb74b1b0691e1b03ae16c6db6 | |
parent | 83780d95f06e77a9d86e894a6c07ba37e17bbe6a (diff) | |
download | coreutils-47306242ec31f2053e0494e7558d07a0bcc8dbb3.tar.xz |
(do_move): Use euidaccess instead of euidaccess_stat.Likewise.
-rw-r--r-- | src/mv.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -62,7 +62,7 @@ int yesno (); int safe_read (); int full_write (); void strip_trailing_slashes (); -int eaccess_stat (); +int euidaccess (); char *stpcpy (); static int copy_reg (); @@ -276,7 +276,7 @@ do_move (source, dest) return 0; if (!override_mode && (interactive || stdin_tty) - && eaccess_stat (&dest_stats, W_OK, dest)) + && euidaccess (dest, W_OK)) { fprintf (stderr, "%s: replace `%s', overriding mode %04o? ", program_name, dest, |