Boost C++ Libraries: Ticket #6822: Patch to fix process_status_failure behaviour https://svn.boost.org/trac10/ticket/6822 <p> Some compilers can call ::<a class="missing wiki">SetLastError</a>(0) just before process_status_failure function is called, so ::<a class="missing wiki">GetLastError</a>() would return 0. It is much safer to call ::<a class="missing wiki">GetLastError</a>() in a function, that triggered a failure.<br /> <br /> This error is discussed in threads <a class="ext-link" href="http://lists.boost.org/boost-testing/2011/09/6927.php"><span class="icon">​</span>http://lists.boost.org/boost-testing/2011/09/6927.php</a> and <a class="ext-link" href="http://www.mail-archive.com/mingw-w64-public@lists.sourceforge.net/msg04512.html"><span class="icon">​</span>http://www.mail-archive.com/mingw-w64-public@lists.sourceforge.net/msg04512.html</a> <br /> Patch is provided by Alexander Potocki. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6822 Trac 1.4.3 Antony Polukhin Sun, 22 Apr 2012 19:39:59 GMT attachment set https://svn.boost.org/trac10/ticket/6822 https://svn.boost.org/trac10/ticket/6822 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">operations.patch</span> </li> </ul> <p> Patch for trunk version of libs/filesystem/src/operations.cpp </p> Ticket