$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
From: technews_at_[hidden]
Date: 2008-02-23 02:40:34
Author: turkanis
Date: 2008-02-23 02:40:32 EST (Sat, 23 Feb 2008)
New Revision: 43396
URL: http://svn.boost.org/trac/boost/changeset/43396
Log:
only call pop()) if chain is complete
Text files modified:
branches/iostreams_dev/boost/iostreams/close.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: branches/iostreams_dev/boost/iostreams/close.hpp
==============================================================================
--- branches/iostreams_dev/boost/iostreams/close.hpp (original)
+++ branches/iostreams_dev/boost/iostreams/close.hpp 2008-02-23 02:40:32 EST (Sat, 23 Feb 2008)
@@ -207,7 +207,7 @@
typedef typename category_of<T>::type category;
const bool in = is_convertible<category, input>::value &&
!is_convertible<category, output>::value;
- if (in == (which == BOOST_IOS::in))
+ if (in == (which == BOOST_IOS::in) && t.is_complete())
t.pop();
}
};