Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When, occasionally, trying to read directory instead of file, `fread()` returns `EISDIR` error. And, considering, absence of error handling, `read_whole_stream()` just loops indefinitely.
- Loading branch information
db1a274
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from z0w0
at indutny@db1a274
db1a274
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging indutny/rust/fix/handle-io-fread-errors = db1a274 into auto
db1a274
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indutny/rust/fix/handle-io-fread-errors = db1a274 merged ok, testing candidate = 83838aa
db1a274
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
http://buildbot.rust-lang.org/builders/auto-linux/builds/1125
http://buildbot.rust-lang.org/builders/auto-win/builds/1121
http://buildbot.rust-lang.org/builders/auto-mac/builds/1137
db1a274
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding incoming to auto = 83838aa