Repository navigation
fix: Wave4b P2 batch - $[ EOF scan, declare -aA, procsub fd window, trap list/DEBUG freeze, bash -o listing, jobs/alias params (#543 #544 #545 #546 #547 #549) - #578
Merged
Conversation
… (checkpoint before master merge)
…isting, #549 jobs/alias (checkpoint 2)
# Conflicts: # src/builtins/alias.rs
…all redirect rejection arm RUSTFLAGS=-D warnings surfaced an unused-must-use on the FatalNounset arm's finish_heredoc_expansion_error call (present on master 40586ca as a bare statement). The command's result is decided by the rejection status after the temporary-assignment restore, so the materialization Result is deliberately discarded - mirror the let _ = contract the posix-assignment-failure arm already uses for its finish calls.
…he creating command part_080's assignment input-procsub test still pinned the pre-#545 contract (stored /dev/fd/N stays readable, cat prints alpha). The fd lifetime fix reaps a command's substitutions when the creating command finishes (GNU execute_cmd.c:832 delete_procsubs closes fds or unlinks fifos; WSL GNU 5.3.0(1) probe 2026-10-12), and the array form of the same contract is already pinned in issue545_procsub_lifetime_xtrace_ regressions. Flip the scalar form the same way part_072's operand matrix was flipped: cat reports ENOENT rc 1, redirect target stays empty. Same-family flips in this PR: part_035 (#549), part_072 (#545).
…cise Master's #573 wave flipped the two dparen EOF arms in run_source_impl (dparen_arith_group_never_closes, dparen_subshell_reparse_compound_eof) to a dual-char `) [' wording. GNU's EOF reports carry a single char: parse.y:3912 prints the matched-pair close char, parse.y:7152 the literal )' - a `) [' report has no GNU oracle, and no test on either side pins it, while the #390/#413 wording pins (issue390 q1 family, issue413 dparen_verdict_arithmetic_side_stands) exercise `)' and pass on the pre-merge branch. Restore the `)' wording in the merge so the branch's dparen-verdict semantics (#543 a1/a3: the dparen family owns the )' verdict) survive master's rewording; master's other #573 changes in the region are untouched.
# Conflicts: # src/executor/command_prepare.rs
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.
Six tickets from the huck-corpus triage, each with WSL GNU 5.3.0(1) reproduction, vendored-bash file:line anchors, and RED-then-GREEN regressions (39 new tests + 6 existing locks re-adjudicated against the fresh 5.3 oracle where the issue text carried 5.2-era expectations). Failure-set parity vs fresh master: 52 = 52, diff empty.