Skip to content

Fix io::Take behavior with limit 0 #22640

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

Merged
merged 2 commits into from
Feb 23, 2015
Merged

Conversation

sfackler
Copy link
Member

We can't call into the inner reader for a 0-byte read because that may
end up blocking or returning an error.

r? @alexcrichton

We can't call into the inner reader for a 0-byte read because that may
end up blocking or returning an error.
@alexcrichton
Copy link
Member

@bors: r+ b46e3ee

Manishearth added a commit to Manishearth/rust that referenced this pull request Feb 23, 2015
 We can't call into the inner reader for a 0-byte read because that may
end up blocking or returning an error.

r? @alexcrichton
@alexcrichton alexcrichton merged commit b46e3ee into rust-lang:master Feb 23, 2015
@sfackler sfackler deleted the fix-take branch November 26, 2016 05:51
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.

2 participants