Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore default (ignore) Rust SIGPIPE behavior #18

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

unflxw
Copy link
Contributor

@unflxw unflxw commented Nov 7, 2024

Remove reset_sigpipe and other code that handles SIGPIPE in any way, such as ignoring it or forwarding it to the child process.

This restores the default behaviour of the Rust standard library, which is to always ignore the signal. This behaviour will be inherited by the child process.

See #12 for context.

Remove `reset_sigpipe` and other code that handles `SIGPIPE` in any
way, such as ignoring it or forwarding it to the child process.

This restores the default behaviour of the Rust standard library,
which is to always ignore the signal. This behaviour will be inherited
by the child process.

See #12 for context.
@unflxw unflxw self-assigned this Nov 7, 2024
@backlog-helper
Copy link

backlog-helper bot commented Nov 7, 2024

Hi @unflxw,

We've found some issues with your Pull Request.

  • This Pull Request is missing labels. Please add labels to help identify types of Pull Requests. - (More info)
  • This Pull Request does not include a changeset. Add a changeset if the change impacts users and should be included in the changelog upon release. Read more about changesets.
    Ignore this rule by adding [skip changeset] to your Pull Request body. - (More info)
  • This Pull Request is missing reviewers. Either convert this Pull Request into a draft or ignore this rule by adding [skip review] to your Pull Request body. - (More info)

New issue guide | Backlog management | Rules | Feedback

@unflxw unflxw merged commit 1131fb6 into main Nov 7, 2024
1 check passed
unflxw added a commit that referenced this pull request Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant