|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r77585 - in trunk/libs/filesystem: doc src
From: bdawes_at_[hidden]
Date: 2012-03-27 10:40:57
Author: bemandawes
Date: 2012-03-27 10:40:56 EDT (Tue, 27 Mar 2012)
New Revision: 77585
URL: http://svn.boost.org/trac/boost/changeset/77585
Log:
Fix #3737, Boost.Filesystem does not compile on Windows Mobile
Text files modified:
trunk/libs/filesystem/doc/release_history.html | 5 ++++-
trunk/libs/filesystem/src/operations.cpp | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
Modified: trunk/libs/filesystem/doc/release_history.html
==============================================================================
--- trunk/libs/filesystem/doc/release_history.html (original)
+++ trunk/libs/filesystem/doc/release_history.html 2012-03-27 10:40:56 EDT (Tue, 27 Mar 2012)
@@ -49,6 +49,9 @@
The behavior for simple cases has been reverted to the Version 2 behavior, but
with corrections so that complex replacements now work. Two test cases from
#5118 have been added.</li>
+ <li>Fix #3737,
+ Boost.Filesystem does not compile on Windows Mobile. On Windows, <sys/stat.h>
+ is no longer included.</li>
</ul>
<h2>1.49.0</h2>
@@ -133,7 +136,7 @@
</ul>
<hr>
<p>Revised
-<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->26 March, 2012<!--webbot bot="Timestamp" endspan i-checksum="28826" --></p>
+<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->27 March, 2012<!--webbot bot="Timestamp" endspan i-checksum="28828" --></p>
<p>© Copyright Beman Dawes, 2011</p>
<p> Use, modification, and distribution are subject to the Boost Software
License, Version 1.0. See <a href="http://www.boost.org/LICENSE_1_0.txt">
Modified: trunk/libs/filesystem/src/operations.cpp
==============================================================================
--- trunk/libs/filesystem/src/operations.cpp (original)
+++ trunk/libs/filesystem/src/operations.cpp 2012-03-27 10:40:56 EDT (Tue, 27 Mar 2012)
@@ -46,7 +46,6 @@
#include <boost/detail/workaround.hpp>
#include <vector>
#include <cstdlib> // for malloc, free
-#include <sys/stat.h> // even on Windows some functions use stat()
#include <cstring>
#include <cstdio> // for remove, rename
#if defined(__QNXNTO__) // see ticket #5355
@@ -73,6 +72,7 @@
const fs::path dot_path(".");
const fs::path dot_dot_path("..");
# include <sys/types.h>
+# include <sys/stat.h>
# if !defined(__APPLE__) && !defined(__OpenBSD__)
# include <sys/statvfs.h>
# define BOOST_STATVFS statvfs
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