Re: [Boost-bugs] [Boost C++ Libraries] #3571: mapped_file_source, reopening fails with exception (Windows XP)

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3571: mapped_file_source, reopening fails with exception (Windows XP)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-10-28 11:30:22


#3571: mapped_file_source, reopening fails with exception (Windows XP)
-----------------------------------+----------------------------------------
  Reporter: xurux1-mail@… | Owner: turkanis
      Type: Bugs | Status: closed
 Milestone: Boost 1.41.0 | Component: iostreams
   Version: Boost 1.40.0 | Severity: Problem
Resolution: wontfix | Keywords: mapped_file
-----------------------------------+----------------------------------------
Changes (by anonymous):

  * status: new => closed
  * resolution: => wontfix

Comment:

 sorry, it's not a bug.

 a) you cannot map beyond the end of the file (obvious)

 b) (on windows), apparently you can not map with offset to the last 64k of
 the file, if they are not completely filled (file ends before complete 64k
 are filled).

 so, b was the problem (file was between 64k and 128k large).

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3571#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC