Boost C++ Libraries: Ticket #12746: boost::filesystem::canonical fails for network paths on windows/inconsistent behavior https://svn.boost.org/trac10/ticket/12746 <p> if you do: </p> <p> boost::system::error_code ec; </p> <p> path myPath = canonical(path("<br /><br />mynetworkmachine<br />somepath<br />somefile.txt"),ec); </p> <p> ec.m_val will be 161 </p> <p> Additionally, it does not throw an exception when using the exception form of the call. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12746 Trac 1.4.3 anonymous Wed, 11 Jan 2017 03:09:56 GMT <link>https://svn.boost.org/trac10/ticket/12746#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12746#comment:1</guid> <description> <p> Trying to fix formatting: </p> <p> if you do: </p> <pre class="wiki">boost::system::error_code ec; path myPath = canonical(path("\\\\mynetworkmachine\\somepath\\somefile.txt"),ec); </pre><p> ec.m_val will be 161 </p> <p> Additionally, it does not throw an exception when using the exception form of the call. </p> </description> <category>Ticket</category> </item> </channel> </rss>