Subject: [Boost-bugs] [Boost C++ Libraries] #6822: Patch to fix process_status_failure behaviour
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-04-22 19:38:53
#6822: Patch to fix process_status_failure behaviour
-------------------------------------+--------------------------------------
Reporter: apolukhin | Owner: bemandawes
Type: Patches | Status: new
Milestone: To Be Determined | Component: filesystem
Version: Boost Development Trunk | Severity: Problem
Keywords: |
-------------------------------------+--------------------------------------
Some compilers can call ::SetLastError(0) just before
process_status_failure function is called, so ::GetLastError() would
return 0. It is much safer to call ::GetLastError() in a function, that
triggered a failure.[[BR]]
[[BR]]
This error is discussed in threads [http://lists.boost.org/boost-
testing/2011/09/6927.php] and [http://www.mail-
archive.com/mingw-w64-public_at_[hidden]/msg04512.html] [[BR]]
Patch is provided by Alexander Potocki.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6822> 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:09 UTC