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

MFile#read should not raise IO::EOFError #898

Merged
merged 1 commit into from
Jan 1, 2025
Merged

Conversation

carlhoerberg
Copy link
Member

WHAT is this pull request doing?

IO#read reads at most slice.size bytes from the IO into slice. Returns the number of bytes read, which is 0 if and only if there is no more data to read.

HOW can this pull request be tested?

Spec

@carlhoerberg carlhoerberg requested a review from a team as a code owner January 1, 2025 22:18
IO#read reads at most slice.size bytes from the IO into slice.
Returns the number of bytes read, which is 0 if and only if
there is no more data to read.
@carlhoerberg carlhoerberg merged commit 205184a into main Jan 1, 2025
7 of 17 checks passed
@carlhoerberg carlhoerberg deleted the mfile-read-eof branch January 1, 2025 22:36
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