Boost C++ Libraries: Ticket #5434: path.make_preferred() does not work as specified on Windows https://svn.boost.org/trac10/ticket/5434 <p> On the Windows platform and since boost 1.46.1, path.make_preferred() simply executes </p> <pre class="wiki">std::replace(m_pathname.begin(), m_pathname.end(), L'\\', L'/'); </pre><p> which replaces backslashes with forward slashes. However, the function should do the opposite thing. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5434 Trac 1.4.3 Beman Dawes Thu, 07 Apr 2011 14:34:38 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/5434#comment:1 https://svn.boost.org/trac10/ticket/5434#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/71079" title="Fix #5404 and #5434. Add make_preferred_tests. Add comment cautioning ...">[71079]</a>) Fix <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5404" title="#5404: Bugs: path &amp; path::make_preferred() is incorrect (closed: fixed)">#5404</a> and <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5434" title="#5434: Bugs: path.make_preferred() does not work as specified on Windows (closed: fixed)">#5434</a>. Add make_preferred_tests. Add comment cautioning for Windows class path relational operators when difference between slash and backslash is significant. </p> Ticket