Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3405: boost/interprocess is incompatible to Win9x
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-09-05 23:57:56
#3405: boost/interprocess is incompatible to Win9x
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: igaztanaga
Type: Support Requests | Status: new
Milestone: Boost 1.41.0 | Component: interprocess
Version: Boost 1.40.0 | Severity: Problem
Keywords: |
------------------------------+---------------------------------------------
Comment(by anonymous):
not very cool. sorry.
To make boost/interprocess/sync/*_lock.hpp useable under Win98 you not
only need to wrap get_file_size and set_file_pointer_ex - you also must
overcome a strange assumption set_file_pointer_ex does...
It assumes that if you point the file-pointer over the actual size of the
file and call SetEndOfFile afterwards, the file not only increases (what
is true and documented) - the remaining bytes are initialized by zero.
I cant find that this is documented - the documentation for
SetFilePointerEx says "leaving the intervening bytes uninitialized" ...
but it seems to work under XP ...
I would call this a bug...
but maybe its not the beauty that counts anyway...
(sorry, but after crawling this part of the boost-code i lost some respect
points for the project...)
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3405#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