Boost logo

Boost-Commit :

From: john.groups_at_[hidden]
Date: 2007-10-31 08:01:25


Author: jtorjo
Date: 2007-10-31 08:01:25 EDT (Wed, 31 Oct 2007)
New Revision: 40622
URL: http://svn.boost.org/trac/boost/changeset/40622

Log:
[logging]
solved small bug - on windows we can care about ios_base::in
Text files modified:
   sandbox/logging/boost/logging/format/destination/file.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/logging/boost/logging/format/destination/file.hpp
==============================================================================
--- sandbox/logging/boost/logging/format/destination/file.hpp (original)
+++ sandbox/logging/boost/logging/format/destination/file.hpp 2007-10-31 08:01:25 EDT (Wed, 31 Oct 2007)
@@ -65,7 +65,7 @@
         if ( fs.do_append() )
             flags |= std::ios_base::app;
         // note: on Linux, it opens it RW , and if the file does not exist, nothing happens
-#ifndef BOOST_WINDOWS
+#ifdef BOOST_WINDOWS
         if ( !fs.initial_overwrite() )
             flags |= std::ios_base::in;
 #endif


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