Boost C++ Libraries: Ticket #5404: path & path::make_preferred() is incorrect https://svn.boost.org/trac10/ticket/5404 <pre class="wiki">std::replace(m_pathname.begin(), m_pathname.end(), L'\\', L'/'); should be std::replace(m_pathname.begin(), m_pathname.end(), L'/', L'\\'); </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5404 Trac 1.4.3 Beman Dawes Thu, 07 Apr 2011 14:34:38 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/5404#comment:1 https://svn.boost.org/trac10/ticket/5404#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