Opened 12 years ago
Closed 12 years ago
#5404 closed Bugs (fixed)
path & path::make_preferred() is incorrect
Reported by: | Owned by: | Beman Dawes | |
---|---|---|---|
Milestone: | To Be Determined | Component: | filesystem |
Version: | Boost 1.46.1 | Severity: | Showstopper |
Keywords: | Cc: |
Description
std::replace(m_pathname.begin(), m_pathname.end(), L'\\', L'/'); should be std::replace(m_pathname.begin(), m_pathname.end(), L'/', L'\\');
Note:
See TracTickets
for help on using tickets.
(In [71079]) Fix #5404 and #5434. Add make_preferred_tests. Add comment cautioning for Windows class path relational operators when difference between slash and backslash is significant.