Boost C++ Libraries: Ticket #7404: filesystem::canonical fails on UNC paths on Windows https://svn.boost.org/trac10/ticket/7404 <p> The filesystem library function canonical(p, base) fails for all UNC paths on Windows because it gets an "invalid path" error when it calls symlink_status at line 816 of operations.cpp. Example: For the path "<em>server/share/file", the first time execution reaches line 816 of operations.cpp, it calls is_symlink(detail::symlink_status("</em>server", ec)) and ec is set to the Windows "invalid path" system error code. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7404 Trac 1.4.3 Craig Dickson <cdickson@…> Fri, 21 Sep 2012 20:14:56 GMT <link>https://svn.boost.org/trac10/ticket/7404#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7404#comment:1</guid> <description> <p> Your <a class="wiki" href="https://svn.boost.org/trac10/wiki/WikiFormatting">WikiFormatting</a> corrupted my text slightly. The example path, shown above as "server/share/file", should be preceded by two forward slashes. Same for the string "server" in the call to symlink_status. </p> </description> <category>Ticket</category> </item> <item> <author>Craig Dickson <cdickson@…></author> <pubDate>Fri, 21 Sep 2012 22:23:23 GMT</pubDate> <title>component changed; owner set https://svn.boost.org/trac10/ticket/7404#comment:2 https://svn.boost.org/trac10/ticket/7404#comment:2 <ul> <li><strong>owner</strong> set to <span class="trac-author">Beman Dawes</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">filesystem</span> </li> </ul> Ticket