coreutils
coreutils copied to clipboard
cp: show "same file" error for `--remove-destination a a`
When running cp --remove-destination a a, GNU cp shows a "same file" error whereas uutils cp removes the file and then shows a "no such file" error. This PR fixes this issue.