Boost C++ Libraries: Ticket #13084: boost::filesystem::exists returns false on existing pathnames on OSX systems https://svn.boost.org/trac10/ticket/13084 <p> boost::filesystem::exists returns false on existing pathnames, surprisingly. This behaviour could be observed at least on OSX El Capitan (10.11.6) with Boost 1.64.0 On Linux, the same code works fine. </p> <p> For confirmation and reproduction, I provide a self-contained code that displays the output of three tests of file existence. It expects a pathname as its first (and only) argument. </p> <p> Here are the outputs that it gives me on Linux and OSX (when applied to an existing pathname): </p> <p> Linux:<br /> reply of boost::filesystem::exists: true<br /> reply of stat_exists: true<br /> reply of stream_exists: true<br /> </p> <p> OSX:<br /> reply of boost::filesystem::exists: false<br /> reply of stat_exists: true<br /> reply of stream_exists: true<br /> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13084 Trac 1.4.3 fabrice.ducos@… Mon, 19 Jun 2017 20:52:40 GMT attachment set https://svn.boost.org/trac10/ticket/13084 https://svn.boost.org/trac10/ticket/13084 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">test_file_exists.cpp</span> </li> </ul> <p> a short program for testing boost::filesystem:exists </p> Ticket