Boost C++ Libraries: Ticket #5988: boost::filesystem::absolute doesn't work with ../relative_path or ./relative_path https://svn.boost.org/trac10/ticket/5988 <p> In boost filesystem v3, boost::filesystem::absolute only appends the relative path to base path. It should also remove "./" from relative paths and "backtrack" on base path if relative path contains "../../" etc. </p> <p> For example, Input: </p> <blockquote> <p> "d:\current\path" ".\..\relative\path" </p> </blockquote> <p> Result obtained: </p> <blockquote> <p> "d:\current\path\.\..\relative\path" </p> </blockquote> <p> Desired result: </p> <blockquote> <p> "d:\current\relative\path" </p> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5988 Trac 1.4.3 Sachin Garg <schngrg@…> Fri, 07 Oct 2011 04:23:51 GMT cc set https://svn.boost.org/trac10/ticket/5988#comment:1 https://svn.boost.org/trac10/ticket/5988#comment:1 <ul> <li><strong>cc</strong> <span class="trac-author">schngrg@…</span> added </li> </ul> Ticket anonymous Fri, 07 Oct 2011 07:09:20 GMT <link>https://svn.boost.org/trac10/ticket/5988#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5988#comment:2</guid> <description> <p> I think this is called normpath, not abspath. </p> </description> <category>Ticket</category> </item> </channel> </rss>