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

Make sure read hasn't failed before updating position. #49158

Merged
merged 1 commit into from
Mar 28, 2023

Conversation

apaz-cli
Copy link
Member

I noticed this when I was yoinking the code for my own project. When read() fails and errno is EINTR, it re-reads from the wrong position.

I noticed this when I was yoinking the code for my own project. When `read()` fails and `errno` is `EINTR`, it re-reads from the wrong position.
@gbaraldi gbaraldi requested a review from vtjnash March 27, 2023 21:49
@oscardssmith oscardssmith added the io Involving the I/O subsystem: libuv, read, write, etc. label Mar 28, 2023
@vtjnash vtjnash added the merge me PR is reviewed. Merge when all tests are passing label Mar 28, 2023
@DilumAluthge DilumAluthge merged commit 39fd7dd into JuliaLang:master Mar 28, 2023
@DilumAluthge DilumAluthge removed the merge me PR is reviewed. Merge when all tests are passing label Mar 28, 2023
Xnartharax pushed a commit to Xnartharax/julia that referenced this pull request Apr 19, 2023
I noticed this when I was yoinking the code for my own project. When `read()` fails and `errno` is `EINTR`, it re-reads from the wrong position.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
io Involving the I/O subsystem: libuv, read, write, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants