[Boost-bugs] [Boost C++ Libraries] #5434: path.make_preferred() does not work as specified on Windows

Subject: [Boost-bugs] [Boost C++ Libraries] #5434: path.make_preferred() does not work as specified on Windows
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-04-07 05:49:34


#5434: path.make_preferred() does not work as specified on Windows
-----------------------------------------------------+----------------------
 Reporter: steffen.priesterjahn@… | Owner: bemandawes
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: filesystem
  Version: Boost 1.46.1 | Severity: Problem
 Keywords: filesystem windows make_preferred |
-----------------------------------------------------+----------------------
 On the Windows platform and since boost 1.46.1, path.make_preferred()
 simply executes

 {{{
 std::replace(m_pathname.begin(), m_pathname.end(), L'\\', L'/');
 }}}

 which replaces backslashes with forward slashes. However, the function
 should do the opposite thing.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5434>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:06 UTC