Boost logo

Boost-Commit :

From: technews_at_[hidden]
Date: 2008-01-02 15:58:27


Author: turkanis
Date: 2008-01-02 15:58:26 EST (Wed, 02 Jan 2008)
New Revision: 42420
URL: http://svn.boost.org/trac/boost/changeset/42420

Log:
replaced mangled hex encoding of stream offset with offset itself in error message
Text files modified:
   branches/iostreams_dev/libs/iostreams/test/stream_offset_64bit_test.cpp | 5 +----
   1 files changed, 1 insertions(+), 4 deletions(-)

Modified: branches/iostreams_dev/libs/iostreams/test/stream_offset_64bit_test.cpp
==============================================================================
--- branches/iostreams_dev/libs/iostreams/test/stream_offset_64bit_test.cpp (original)
+++ branches/iostreams_dev/libs/iostreams/test/stream_offset_64bit_test.cpp 2008-01-02 15:58:26 EST (Wed, 02 Jan 2008)
@@ -42,10 +42,7 @@
         if (off != position_to_offset(offset_to_position(off))) {
             stringstream s;
             s << "off != position_to_offset(offset_to_position(off)) "
- "failed for off = 0x"
- << hex
- << (off >> 32)
- << (off & 0xFFFFFFFF);
+ "failed for off == " << off;
             BOOST_REQUIRE_MESSAGE(0, s.str().c_str());
         }
     }


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