Skip to content

cp: show no "same file" error for --link a a#5762

Merged
sylvestre merged 1 commit intouutils:mainfrom
cakebaker:cp_link_same_file
Jan 14, 2024
Merged

cp: show no "same file" error for --link a a#5762
sylvestre merged 1 commit intouutils:mainfrom
cakebaker:cp_link_same_file

Conversation

@cakebaker
Copy link
Contributor

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.

@github-actions
Copy link

github-actions bot commented Jan 1, 2024

GNU testsuite comparison:

Skip an intermittent issue tests/tail/inotify-dir-recreate (fails in this run but passes in the 'main' branch)

@sylvestre sylvestre merged commit e3beda0 into uutils:main Jan 14, 2024
@cakebaker cakebaker deleted the cp_link_same_file branch January 15, 2024 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants