From 15959faf3ec45dbcc2576957a68b2f71f0057e48 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 15 Sep 2008 10:05:36 +0000 Subject: [PATCH] Fix SubReadStream by initing _eos to false in the constructor (spotted thanks to our unit tests) svn-id: r34555 --- common/stream.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/stream.h b/common/stream.h index d88e2526615..02677e0dbb2 100644 --- a/common/stream.h +++ b/common/stream.h @@ -430,7 +430,8 @@ public: : _parentStream(parentStream), _disposeParentStream(disposeParentStream), _pos(0), - _end(end) { + _end(end), + _eos(false) { assert(parentStream); } ~SubReadStream() {