|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r74121 - in sandbox/mmap/boost/mmap: mappble_objects/file/posix mapping/posix
From: dsaritz_at_[hidden]
Date: 2011-08-29 05:58:07
Author: psiha
Date: 2011-08-29 05:58:07 EDT (Mon, 29 Aug 2011)
New Revision: 74121
URL: http://svn.boost.org/trac/boost/changeset/74121
Log:
Added missing include directives.
Fixed compiler errors.
Text files modified:
sandbox/mmap/boost/mmap/mappble_objects/file/posix/file.inl | 2 +-
sandbox/mmap/boost/mmap/mappble_objects/file/posix/mapping_flags.hpp | 2 +-
sandbox/mmap/boost/mmap/mappble_objects/file/posix/mapping_flags.inl | 4 ++--
sandbox/mmap/boost/mmap/mappble_objects/file/posix/open_flags.inl | 2 +-
sandbox/mmap/boost/mmap/mapping/posix/mapping.hpp | 4 ++--
5 files changed, 7 insertions(+), 7 deletions(-)
Modified: sandbox/mmap/boost/mmap/mappble_objects/file/posix/file.inl
==============================================================================
--- sandbox/mmap/boost/mmap/mappble_objects/file/posix/file.inl (original)
+++ sandbox/mmap/boost/mmap/mappble_objects/file/posix/file.inl 2011-08-29 05:58:07 EDT (Mon, 29 Aug 2011)
@@ -18,7 +18,7 @@
#include "open_flags.hpp"
#include "../../../detail/impl_inline.hpp"
#include "../../../detail/posix.hpp"
-#include "../../../mapping/posix.hpp"
+#include "../../../mapping/posix/mapping.hpp"
#include "boost/assert.hpp"
Modified: sandbox/mmap/boost/mmap/mappble_objects/file/posix/mapping_flags.hpp
==============================================================================
--- sandbox/mmap/boost/mmap/mappble_objects/file/posix/mapping_flags.hpp (original)
+++ sandbox/mmap/boost/mmap/mappble_objects/file/posix/mapping_flags.hpp 2011-08-29 05:58:07 EDT (Mon, 29 Aug 2011)
@@ -54,7 +54,7 @@
{
shared = MAP_SHARED,
hidden = MAP_PRIVATE
- }
+ };
};
static file_mapping_flags<posix> create
Modified: sandbox/mmap/boost/mmap/mappble_objects/file/posix/mapping_flags.inl
==============================================================================
--- sandbox/mmap/boost/mmap/mappble_objects/file/posix/mapping_flags.inl (original)
+++ sandbox/mmap/boost/mmap/mappble_objects/file/posix/mapping_flags.inl 2011-08-29 05:58:07 EDT (Mon, 29 Aug 2011)
@@ -29,10 +29,10 @@
share_mode::value_type const share_mode
)
{
- mapping_flags flags;
+ file_mapping_flags<posix> flags;
flags.protection = combined_handle_access_flags;
- flags.flags = share_mode | system_hints;
+ flags.flags = share_mode;
return flags;
}
Modified: sandbox/mmap/boost/mmap/mappble_objects/file/posix/open_flags.inl
==============================================================================
--- sandbox/mmap/boost/mmap/mappble_objects/file/posix/open_flags.inl (original)
+++ sandbox/mmap/boost/mmap/mappble_objects/file/posix/open_flags.inl 2011-08-29 05:58:07 EDT (Mon, 29 Aug 2011)
@@ -13,7 +13,7 @@
///
////////////////////////////////////////////////////////////////////////////////
//------------------------------------------------------------------------------
-#include "flags.hpp"
+#include "open_flags.hpp"
#include "../../../detail/impl_inline.hpp"
Modified: sandbox/mmap/boost/mmap/mapping/posix/mapping.hpp
==============================================================================
--- sandbox/mmap/boost/mmap/mapping/posix/mapping.hpp (original)
+++ sandbox/mmap/boost/mmap/mapping/posix/mapping.hpp 2011-08-29 05:58:07 EDT (Mon, 29 Aug 2011)
@@ -36,8 +36,8 @@
:
handle<posix>::reference
{
- typedef handle<posix>::handle_t native_handle_t;
- typedef mapping const & reference;
+ typedef handle<posix>::native_handle_t native_handle_t;
+ typedef mapping const & reference;
BOOST_STATIC_CONSTANT( bool, owns_parent_handle = false );
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