Repository navigation
test(issue3578): pin dual heredoc binds under the fd soft limit (Refs #3578) - #3895
Merged
Merged
Conversation
…3578) The core fix already landed via #3752 (b69e175): the exec redirect walk pairs each numbered heredoc/here-string entry with its heredoc_redirects twin at its own list position (GNU redir.c do_redirections ordered walk, here_document_to_fd materialization). This adds dedicated regression pins for the under-limit class the issue title describes — exec 14<<A 15<<B under ulimit -n 16 — plus boundary variants: multi-line bodies, reversed fd order, three heredocs at the boundary, heredoc+here-string mix, and persistence into the next command. Byte-identical to WSL GNU Bash 5.3.20 on all six scripts. Residuals found during review filed separately: #3892 (exec {var} binds lost on later-entry failure — GNU varassign entries carry no undo record, redir.c:972/1091/1153), #3893 ({var}<< allocation deferred to walk tail), #3894 ({var}<< body double-bound to fd 0 on simple commands). Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
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.
Fixes #3578. Adds 6 regression pins for dual heredoc binds under the fd soft limit (confirming #3752 fix).