Boost logo

Boost-Commit :

From: technews_at_[hidden]
Date: 2007-12-29 02:39:35


Author: turkanis
Date: 2007-12-29 02:39:35 EST (Sat, 29 Dec 2007)
New Revision: 42332
URL: http://svn.boost.org/trac/boost/changeset/42332

Log:
added test for size of stream_offset
Text files modified:
   branches/iostreams_dev/libs/iostreams/test/large_file_test.cpp | 5 +++++
   1 files changed, 5 insertions(+), 0 deletions(-)

Modified: branches/iostreams_dev/libs/iostreams/test/large_file_test.cpp
==============================================================================
--- branches/iostreams_dev/libs/iostreams/test/large_file_test.cpp (original)
+++ branches/iostreams_dev/libs/iostreams/test/large_file_test.cpp 2007-12-29 02:39:35 EST (Sat, 29 Dec 2007)
@@ -258,6 +258,11 @@
 
 void large_file_test()
 {
+ BOOST_REQUIRE_MESSAGE(
+ sizeof(stream_offset) >= 64,
+ "large offsets not supported"
+ );
+
     // Prepare file and file descriptor
     large_file large;
     file_descriptor_source file;


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