|
Boost-Commit : |
From: technews_at_[hidden]
Date: 2008-01-08 02:24:28
Author: turkanis
Date: 2008-01-08 02:24:27 EST (Tue, 08 Jan 2008)
New Revision: 42605
URL: http://svn.boost.org/trac/boost/changeset/42605
Log:
narrowed the version range for which the Borland workaround is applied
Text files modified:
branches/iostreams_dev/libs/iostreams/test/large_file_test.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 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 2008-01-08 02:24:27 EST (Tue, 08 Jan 2008)
@@ -253,7 +253,7 @@
return false;
}
-# if !BOOST_WORKAROUND(__BORLANDC__, == 0x582)
+# if !defined(__BORLANDC__) || __BORLANDC__ < 0x582 || __BORLANDC__ >= 0x592
// Close handle; all further access is via mapped_file
CloseHandle(hnd);
@@ -261,7 +261,7 @@
// Initialize file data
return map_large_file();
-# else // Borland 5.8.2
+# else // Borland >= 5.8.2 and Borland < 5.9.2
// Initialize file data (very slow, even though only 9 writes are required)
for (stream_offset z = 0; z <= 8; ++z) {
@@ -293,7 +293,7 @@
CloseHandle(hnd);
return true;
-# endif // Borland 5.8.2 workaround
+# endif // Borland workaround
#else // #ifdef BOOST_IOSTREAMS_WINDOWS
// Create 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