|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r84390 - in trunk: boost/interprocess libs/interprocess/doc
From: igaztanaga_at_[hidden]
Date: 2013-05-20 11:38:25
Author: igaztanaga
Date: 2013-05-20 11:38:24 EDT (Mon, 20 May 2013)
New Revision: 84390
URL: http://svn.boost.org/trac/boost/changeset/84390
Log:
Fixes #8595
Text files modified:
trunk/boost/interprocess/mapped_region.hpp | 2 +-
trunk/libs/interprocess/doc/interprocess.qbk | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
Modified: trunk/boost/interprocess/mapped_region.hpp
==============================================================================
--- trunk/boost/interprocess/mapped_region.hpp (original)
+++ trunk/boost/interprocess/mapped_region.hpp 2013-05-20 11:38:24 EDT (Mon, 20 May 2013)
@@ -504,7 +504,7 @@
}
//m_file_or_mapping_hnd can be a file handle or a mapping handle.
//so flushing file buffers has only sense for files...
- else if(async && m_file_or_mapping_hnd != winapi::invalid_handle_value &&
+ else if(!async && m_file_or_mapping_hnd != winapi::invalid_handle_value &&
winapi::get_file_type(m_file_or_mapping_hnd) == winapi::file_type_disk){
return winapi::flush_file_buffers(m_file_or_mapping_hnd);
}
Modified: trunk/libs/interprocess/doc/interprocess.qbk
==============================================================================
--- trunk/libs/interprocess/doc/interprocess.qbk (original)
+++ trunk/libs/interprocess/doc/interprocess.qbk 2013-05-20 11:38:24 EDT (Mon, 20 May 2013)
@@ -6721,8 +6721,9 @@
[@https://svn.boost.org/trac/boost/ticket/7682 #7682],
[@https://svn.boost.org/trac/boost/ticket/7923 #7923],
[@https://svn.boost.org/trac/boost/ticket/7924 #7924],
- [@https://svn.boost.org/trac/boost/ticket/7928 #7928].
- [@https://svn.boost.org/trac/boost/ticket/8521 #8521].
+ [@https://svn.boost.org/trac/boost/ticket/7928 #7928],
+ [@https://svn.boost.org/trac/boost/ticket/8521 #8521],
+ [@https://svn.boost.org/trac/boost/ticket/8595 #8595].
[endsect]
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