Boost C++ Libraries: Ticket #897: exists() throws exeption on existing but locked file on wind https://svn.boost.org/trac10/ticket/897 <pre class="wiki">boost::filesystem::exists(somepath) throws an exception from when 'somepath' exists but is locked by some other process (at least on Windows). A simple way to reproduce the effect is: #include &lt;iostream&gt; #include &lt;boost/filesystem.hpp&gt; int main() { boost::filesystem::path p("C:\\pagefile.sys"); try { boost::filesystem::exists(p); } catch (...) { std::cerr &lt;&lt; "Ooops..." &lt;&lt; std::endl; } return 0; } Throwing an exception doesn't seem to be the right thing here, since the file actually exists, so I'ld expect to get a 'true' back from exists(). </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/897 Trac 1.4.3 Marshall Clow Wed, 11 Jul 2007 16:32:09 GMT owner, status changed; severity set https://svn.boost.org/trac10/ticket/897#comment:1 https://svn.boost.org/trac10/ticket/897#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">beman_dawes</span> to <span class="trac-author">Beman Dawes</span> </li> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">new</span> </li> <li><strong>severity</strong> → <span class="trac-field-new">Showstopper</span> </li> </ul> <p> assigning to actual user "bemandawes" instead of unknown user "beman_dawes" </p> Ticket Beman Dawes Wed, 31 Oct 2007 22:14:10 GMT status, resolution, description changed; milestone set https://svn.boost.org/trac10/ticket/897#comment:2 https://svn.boost.org/trac10/ticket/897#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">fixed</span> </li> <li><strong>description</strong> modified (<a href="/trac10/ticket/897?action=diff&amp;version=2">diff</a>) </li> <li><strong>milestone</strong> → <span class="trac-field-new">Boost 1.35.0</span> </li> </ul> Ticket