Boost C++ Libraries: Ticket #4102: problem about reopening input stream https://svn.boost.org/trac10/ticket/4102 <pre class="wiki"> boost::iostreams::stream&lt;boost::iostreams::array_source&gt; is; char buf[100]; is.open(buf, sizeof(buf)); is.close(); BOOST_ASSERT(! is.is_open()); // OK is.open(buf, sizeof(buf)); is.close(); // the stream isn't closed correctly here BOOST_ASSERT(! is.is_open()); // failed. the stream is still open is.open(buf, sizeof(buf)); // throws an exception ("already open") </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4102 Trac 1.4.3 Steven Watanabe Thu, 17 Jun 2010 03:46:43 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/4102#comment:1 https://svn.boost.org/trac10/ticket/4102#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/63036" title="Make sure that direct_streambuf and indirect_streambuf are reset ...">[63036]</a>) Make sure that direct_streambuf and indirect_streambuf are reset correctly on open. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4102" title="#4102: Bugs: problem about reopening input stream (closed: fixed)">#4102</a>. </p> Ticket