diff options
| author | Fedor Indutny <fedor.indutny@gmail.com> | 2013-05-08 01:01:04 +0400 |
|---|---|---|
| committer | Fedor Indutny <fedor.indutny@gmail.com> | 2013-05-08 01:04:41 +0400 |
| commit | db1a274bf54343605c8ac3a38a6c69f7d930192b (patch) | |
| tree | c46a9d8f2b73a34032b94df37983c53aba5f8195 /src/rt/rust_run_program.cpp | |
| parent | 452817b854868d934643cc9e0a8848404ea4ee10 (diff) | |
| download | rust-db1a274bf54343605c8ac3a38a6c69f7d930192b.tar.gz rust-db1a274bf54343605c8ac3a38a6c69f7d930192b.zip | |
io: handle fread() errors
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.
Diffstat (limited to 'src/rt/rust_run_program.cpp')
0 files changed, 0 insertions, 0 deletions
