Re: [Boost-bugs] [Boost C++ Libraries] #12987: boost::filesystem::exists crashes

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12987: boost::filesystem::exists crashes
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-04-29 14:50:01


#12987: boost::filesystem::exists crashes
-------------------------------+------------------------
  Reporter: Leinad | Owner: bemandawes
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: filesystem
   Version: Boost 1.64.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+------------------------

Comment (by daniel.kruegler@…):

 Replying to [comment:9 daniel.kruegler@…]:
> Replying to [comment:8 Leinad]:
> > I agree. That solution (pull request 43) eliminates the ugliness of
 the signature of {{{equal_string_ordinal_ic}}}, but is it any different in
 terms of local static initialisation thread safeness? Would it have the
 same limitations?
>
> IMO it has similar limitations and I'm working on a variant of that
 proposal that fixes the thread-safeness problem.

 Daniela has now provided a revised resolution (very similar to her
 original one), which realizes that initialization happens in the (dynamic)
 program initialization phase (as the original approach did) and doesn't
 depend on local statics:

 https://github.com/boostorg/filesystem/pull/43/commits/24240ed577229eb9568fd8050b9ca4233be92116

 It has been successfully tested against Visual Studio versions 2008, 2010,
 2012, 2013, 2015, and 2017 and against MinGW with gcc 8 HEAD. I recommend
 to accept that PR.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12987#comment:10>
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-04-29 14:54:13 UTC