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

Add binmode reset #1229

Merged
merged 2 commits into from
Apr 25, 2021
Merged

Add binmode reset #1229

merged 2 commits into from
Apr 25, 2021

Conversation

mbj
Copy link
Owner

@mbj mbj commented Apr 25, 2021

No description provided.

mbj added 2 commits April 25, 2021 01:05
* Under currently not exactly to define circumstances Ruby looses the
  binmode behavior when using an `IO` object after a fork.
* The bug is not deterministic, its not immediately observable after a
  fork. I suspect a buffer tagging / GC issue.
* Explicitly setting the binmode flag again after fork silences the
  issue for now.
@mbj mbj self-assigned this Apr 25, 2021
@mbj mbj requested a review from dgollahon April 25, 2021 01:27
@mbj mbj merged commit e17cad9 into master Apr 25, 2021
@mbj mbj deleted the add/binmode-reset branch April 25, 2021 01:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant