id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 897,exists() throws exeption on existing but locked file on wind,Hartmut Kaiser,Beman Dawes,"{{{ 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 #include int main() { boost::filesystem::path p(""C:\\pagefile.sys""); try { boost::filesystem::exists(p); } catch (...) { std::cerr << ""Ooops..."" << 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(). }}}",Bugs,closed,Boost 1.35.0,filesystem,None,Showstopper,fixed,,