]> git.ipfire.org Git - thirdparty/coreutils.git/commit
Avoid an unnecessary `stat' when using --dereference.
authorJim Meyering <jim@meyering.net>
Sun, 31 Dec 2000 08:29:17 +0000 (08:29 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 31 Dec 2000 08:29:17 +0000 (08:29 +0000)
commit769b95b7514a2e4bde8556495f1de793df0cc4bc
tree14c27b679842c0ccfc2a500232d77c7d61bf2243
parentde0ebc7eb6c7e3b3de13ff9b85ee5ca1e184b08c
Avoid an unnecessary `stat' when using --dereference.

(same_file_ok): Use stat only if lstat reported that
the file was a symbolic link.
src/copy.c