Repository navigation
fix(cp): LX reparse links + -r -H directory links (#1647 #1693) - #1732
Merged
Merged
Conversation
- read IO_REPARSE_TAG_LX_SYMLINK payload, resolve relative targets - dereference path flows into open/copy/metadata; diagnostics keep spelling - -d/-P/-a recreate links (GNU-shaped cannot create on no privilege) - -H dereferences depth 0 only; -L all levels; cp 83/83 (13 new LX tests)
caomengxuan666
marked this pull request as ready for review
November 14, 2026 12:27
caomengxuan666
added a commit
that referenced
this pull request
Nov 14, 2026
- cp.cpp 2449 -> 207 lines (REGISTER_COMMAND/help/options only), streaming ABI - #1700/#1732 semantics preserved on Rust: LX, dangling, -r -H, -i rc, self-copy - gate 107 rows: 105 GNU pass / 0 fail / 2 SKIP; ctest cp 83/83 - 60-group matrix: new-vs-GNU rc 60/60; full edition 60/60/60 - 47 tr! keys; catalog patch under catalog/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1647 #1693. Reads WSL DrvFs IO_REPARSE_TAG_LX_SYMLINK payload and resolves relative targets; default/-L dereference, -d/-P/-a recreate (GNU-shaped cannot create without privilege), -H only depth 0. 13 new LX tests, cp 83/83.