coreutils
coreutils copied to clipboard
cp: show no "same file" error for `--link a a`
When running cp --link a a, GNU cp doesn't do anything whereas uutils cp shows a "same file" error. This PR adapts the behavior of uutils cp to match the one of GNU cp.
GNU testsuite comparison:
Skip an intermittent issue tests/tail/inotify-dir-recreate (fails in this run but passes in the 'main' branch)