coreutils icon indicating copy to clipboard operation
coreutils copied to clipboard

cp: show "same file" error for `--remove-destination a a`

Open cakebaker opened this issue 1 year ago • 1 comments

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.

cakebaker avatar Dec 31 '23 16:12 cakebaker