about summary refs log tree commit diff
path: root/src/rt/rust_debug.cpp
diff options
context:
space:
mode:
authorFedor Indutny <fedor.indutny@gmail.com>2013-05-08 01:01:04 +0400
committerFedor Indutny <fedor.indutny@gmail.com>2013-05-08 01:04:41 +0400
commitdb1a274bf54343605c8ac3a38a6c69f7d930192b (patch)
treec46a9d8f2b73a34032b94df37983c53aba5f8195 /src/rt/rust_debug.cpp
parent452817b854868d934643cc9e0a8848404ea4ee10 (diff)
downloadrust-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_debug.cpp')
0 files changed, 0 insertions, 0 deletions