Boost logo

Boost-Commit :

From: troy_at_[hidden]
Date: 2008-06-27 19:23:40


Author: troy
Date: 2008-06-27 19:23:40 EDT (Fri, 27 Jun 2008)
New Revision: 46797
URL: http://svn.boost.org/trac/boost/changeset/46797

Log:

Fix lost data on windoze.

Text files modified:
   branches/CMake/release/tools/build/CMake/marshal.py.in | 2 +-
   branches/CMake/release/tools/build/CMake/post.py.in | 2 +-
   2 files changed, 2 insertions(+), 2 deletions(-)

Modified: branches/CMake/release/tools/build/CMake/marshal.py.in
==============================================================================
--- branches/CMake/release/tools/build/CMake/marshal.py.in (original)
+++ branches/CMake/release/tools/build/CMake/marshal.py.in 2008-06-27 19:23:40 EDT (Fri, 27 Jun 2008)
@@ -86,7 +86,7 @@
                'target' : target,
                'cmdline' : argv })
 
-f = open(log, "a")
+f = open(log, "ab", 0)
 marshal.dump(result, f)
 f.close()
 

Modified: branches/CMake/release/tools/build/CMake/post.py.in
==============================================================================
--- branches/CMake/release/tools/build/CMake/post.py.in (original)
+++ branches/CMake/release/tools/build/CMake/post.py.in 2008-06-27 19:23:40 EDT (Fri, 27 Jun 2008)
@@ -30,7 +30,7 @@
 # + "\n>>>"
 
 p = os.path.join(logdir, "Log.marshal")
-f = open(p)
+f = open(p, "rb")
 
 while True:
     try:


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