Boost logo

Boost-Commit :

From: Frank.Birbacher_at_[hidden]
Date: 2007-08-28 20:00:18


Author: birbacher
Date: 2007-08-28 20:00:18 EDT (Tue, 28 Aug 2007)
New Revision: 39047
URL: http://svn.boost.org/trac/boost/changeset/39047

Log:
Corrected test case for writing into steam.
Unfortunately now the test passes. The iostreams::stream class could not be improved.

Text files modified:
   sandbox-branches/birbacher/fix_iostreams/libs/iostreams/test/error_test.cpp | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: sandbox-branches/birbacher/fix_iostreams/libs/iostreams/test/error_test.cpp
==============================================================================
--- sandbox-branches/birbacher/fix_iostreams/libs/iostreams/test/error_test.cpp (original)
+++ sandbox-branches/birbacher/fix_iostreams/libs/iostreams/test/error_test.cpp 2007-08-28 20:00:18 EDT (Tue, 28 Aug 2007)
@@ -120,6 +120,8 @@
 {
     char data[10] = {0};
     stream.write(data, 10);
+ //force use of streambuf
+ stream.flush();
 }
 
 void test_seekg(std::iostream& stream)


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk