Subject: [Boost-bugs] [Boost C++ Libraries] #13485: parent_path() edge case returns wrong result on Windows
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-03-17 04:56:11
#13485: parent_path() edge case returns wrong result on Windows
----------------------------------------+---------------------
Reporter: Alex Weiss <alexweiss86@â¦> | Owner: (none)
Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
Version: Boost 1.66.0 | Severity: Problem
Keywords: |
----------------------------------------+---------------------
The path "C:\\", while unusual, is legal in Windows and equivalent to
"C:\". According to the path decomposition table, that means that
{{{
parent_path(L"C:\\\\")
}}}
should return "C:". However, it returns "C:\".
The same is true for every variation with more than one trailing separator
(preferred or generic).
-- Ticket URL: <https://svn.boost.org/trac10/ticket/13485> 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 : 2018-03-17 05:00:00 UTC