Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jan 14, 2024

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.

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
54 of 56 checks passed
@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