Conversation
|
GNU testsuite comparison: |
BenWiederhake
left a comment
There was a problem hiding this comment.
LGTM, except that one typo. (I understand that the typo is also present in the already-existing code; feel free to keep it or fix it as you see fit.)
(Remaining CI failures are known issues #6275 and #6333, so out of scope for this PR.)
Before I merge this, I want to give the other maintainers an opportunity to look at it, because I don't feel 100% confident around symlinks. But this seems very reasonable.
Co-authored-by: Ben Wiederhake <[email protected]>
|
GNU testsuite comparison: |
BenWiederhake
left a comment
There was a problem hiding this comment.
LGTM. I'll wait for a few days for the others too look at it, because I don't feel 100% confident around the symlink code.
|
is it because I tried to squeeze in deref logic into parsing code |
|
well done! |
this pr tries to fix gnu test case "link deref" for cp utility
these are the changes made:
when trying to copy a folder without
-Rbefore throwing "-r not specified" error, cp would make sure that source is not a symlink and noderef option is not given. This way, when both of them are given, it would treat it as a file and copy the symlink itself.to match gnu cp's behavior,
-Rwon't disable dereference if--linkis given