Repository navigation
fix(cp,mv,rm,ln): #1647 #1648 #1649 #1650 #1651 - #1700
Merged
Merged
Conversation
- cp: dangling symlink source -> cannot stat (copy.c:2247); self-copy through dir link refused (copy.c:2694) - cp -i: decline returns rc 1 (copy.c:2420-2432), incl. EOF - mv: adopt #1649 type-mismatch guard (copy.c:2441-2504), +2 GNU-probed tests - rm: empty operand pinned (already GNU-correct) - ln: adopt #1651 last-wins (ln.c:506-513), rc on decline fixed - cp 70/70, mv 45/45, rm 40/40, ln 29/29; cargo ln 9/9
caomengxuan666
marked this pull request as ready for review
November 14, 2026 11:17
…1651 # Conflicts: # rust2/crates/winux-cmds/src/ln.rs
This was referenced Nov 14, 2026
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 #1648 #1649 #1651; Refs #1647 #1650. #1649: type-mismatch guard (adopt PR #1661, +2 tests). #1651: last-wins (adopt PR #1662, rc on decline fixed). #1648: cp -i decline/EOF rc 1. #1647: literal symptom (WSL LX symlink) is not reproducible with real Windows symlinks; fixed two same-family defects (dangling source -> cannot stat; self-copy through dir link). #1650: already GNU-correct, pinned. cp 70/70, mv 45/45, rm 40/40, ln 29/29.