about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorSteven Fackler <sfackler@gmail.com>2014-08-14 23:06:30 -0700
committerSteven Fackler <sfackler@gmail.com>2014-08-14 23:14:56 -0700
commit89a0060997479de770be0a63731423e2a305beda (patch)
treec5a6b095ef85bc0004d069c82b9a35bdcf01d700 /src/rustllvm/RustWrapper.cpp
parentbf0a925dcde7a2c66df4e05661a9b1d1472435ab (diff)
downloadrust-89a0060997479de770be0a63731423e2a305beda.tar.gz
rust-89a0060997479de770be0a63731423e2a305beda.zip
std::io::util cleanup + fixes
* Fix `LimitReader`'s `Buffer::consume` impl to avoid limit underflow
* Make `MultiWriter` fail fast instead of always running through each
    `Writer`. This may or may not be what we want, but it at least
    doesn't throw any errors encountered in later `Writer`s into oblivion.
* Prevent `IterReader`'s `Reader::read` impl from returning EOF if given
    an empty buffer.

[breaking-change]
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions