]> git.tdb.fi Git - libs/core.git/commit
The EOF logic wasn't quite correct
authorMikko Rasa <tdb@tdb.fi>
Fri, 3 Aug 2012 08:57:49 +0000 (11:57 +0300)
committerMikko Rasa <tdb@tdb.fi>
Fri, 3 Aug 2012 08:57:49 +0000 (11:57 +0300)
commita386a9ff068071aab19e6dcb0452e72784d84267
tree33266502a421b2124e2f3ecb0d8a20429c8d5594
parent8ed14b63ab6249e9fc2a3a691cf8ffbf49166deb
The EOF logic wasn't quite correct

If the underlying object reported EOF after reading the last byte, then
ZlibCompressed would report EOF itself before giving out all data from
the buffers.
source/io/base.h
source/io/zlibcompressed.cpp
source/io/zlibcompressed.h