Boost C++ Libraries: Ticket #13485: parent_path() edge case returns wrong result on Windows https://svn.boost.org/trac10/ticket/13485 <p> The path "C:<br />", while unusual, is legal in Windows and equivalent to "C:\". According to the path decomposition table, that means that </p> <pre class="wiki">parent_path(L"C:\\\\") </pre><p> should return "C:&#34;. However, it returns &#34;C:\". </p> <p> The same is true for every variation with more than one trailing separator (preferred or generic). </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13485 Trac 1.4.3 Alex Weiss <alexweiss86@…> Sat, 17 Mar 2018 04:58:40 GMT <link>https://svn.boost.org/trac10/ticket/13485#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13485#comment:1</guid> <description> <p> <a class="wiki" href="https://svn.boost.org/trac10/wiki/WikiFormatting">WikiFormatting</a> mutilated the first path in my post. It is supposed to read </p> <pre class="wiki">C:\\ </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Thu, 10 May 2018 16:36:17 GMT</pubDate> <title>component changed; owner set https://svn.boost.org/trac10/ticket/13485#comment:2 https://svn.boost.org/trac10/ticket/13485#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