Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5738: Default-constructed mapped_region address is not NULL
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-12-24 10:08:23
#5738: Default-constructed mapped_region address is not NULL
-------------------------------+--------------------------------------------
Reporter: andysem | Owner: igaztanaga
Type: Bugs | Status: reopened
Milestone: To Be Determined | Component: interprocess
Version: Boost 1.47.0 | Severity: Regression
Resolution: | Keywords:
-------------------------------+--------------------------------------------
Comment (by anonymous):
I don't like the idea of making the address null on all platforms. In UNIX
MAP_FAILED is not NULL and I don't think I should add a branch in the
inline get_address to convert map_failed to null, confusing UNIX users.
I've committed another change, creating an additional invalid_address()
static function that returns a portable invalid address constant (0 in
windows, MAP_FAILED in unix). Let me know if you think this can be enough
to close the bug.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5738#comment:3> 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:08 UTC