Changed - again the open method

you have to call something _other_ than yourself to get stuff done
          I used the open_sink methods near the end of the file as a template
          this uses BOOST_IOS::in instead of BOOST_IOS::out but other than that
          they're essentially identical.


[SVN r28502]
This commit is contained in:
Victor A. Wagner Jr.
2005-04-27 08:18:59 +00:00
parent cab880be3e
commit 09789d201c

View File

@@ -110,7 +110,11 @@ void mapped_file_source::open( const std::string& path,
mapped_file_source::size_type length,
boost::intmax_t offset )
{
open(path, length, offset);
mapped_file_params p(path);
p.mode = BOOST_IOS::in;
p.length = length;
p.offset = offset;
open_impl(p);
}
mapped_file_source::size_type mapped_file_source::size() const