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

Fix a bug where read(buf, len) would fail if buf was big enough and ... #4029

Merged
merged 1 commit into from
Nov 24, 2012

Conversation

Dretch
Copy link
Contributor

@Dretch Dretch commented Nov 24, 2012

succeed if it was too small ... which is the opposite of correct.

I might be missing something but I think this is a bug.

…ucceed if it was too small ... which is the opposite of correct.
catamorphism added a commit that referenced this pull request Nov 24, 2012
Fix a bug where read(buf, len) would fail if buf was big enough and ...
@catamorphism catamorphism merged commit 626a7aa into rust-lang:incoming Nov 24, 2012
@catamorphism
Copy link
Contributor

Good catch, thanks!

@catamorphism
Copy link
Contributor

This seems to fail on Windows but pass on the other platforms. I don't have access to a Windows machine right now to figure out why.

@brson
Copy link
Contributor

brson commented Nov 25, 2012

Probably because there's a #[should_fail] test that needs to be ignored on windows. Should be fixed now.

@Dretch
Copy link
Contributor Author

Dretch commented Nov 26, 2012

Just curious, why does it need to be ignored on windows?

@brson
Copy link
Contributor

brson commented Nov 26, 2012

@Dretch Task unwinding doesn't work on Windows so any task failure is fatal. Therefore all failure tests are disabled on windows. It's a huge bug.

@Dretch
Copy link
Contributor Author

Dretch commented Nov 26, 2012

Oh, thanks @brson, I had no idea.

@Dretch Dretch deleted the ioreadfixes branch May 26, 2013 15:04
bors pushed a commit to rust-lang-ci/rust that referenced this pull request May 15, 2021
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.

None yet

3 participants