Re: [Boost-bugs] [Boost C++ Libraries] #10766: boost::filesystem::path::parent_path() with redundant separator returns wrong value

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10766: boost::filesystem::path::parent_path() with redundant separator returns wrong value
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-09-03 14:45:08


#10766: boost::filesystem::path::parent_path() with redundant separator returns
wrong value
----------------------------------------------+------------------------
  Reporter: Kolya Kosenko <kolya.kosenko@…> | Owner: bemandawes
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: filesystem
   Version: Boost 1.57.0 | Severity: Problem
Resolution: fixed | Keywords:
----------------------------------------------+------------------------
Changes (by bemandawes):

 * status: new => closed
 * resolution: => fixed

Comment:

 The behavior is correct, so there no bug in that sense.

 There is a bug, however, in the sense that the reference documentation is
 unclear. To fix that, examples and notes have been added to the reference
 documentation to show why the returned value is in fact correct, and to
 provide rationale for that behavior. See [path.itr], and [path.decompose]
 parent_path() and filename() sections of the reference docs.

 As a result of those doc changes, this issue is being marked as "fixed"
 rather than "invalid".

 Thanks,

 --Beman

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10766#comment:1>
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:18 UTC