[Boost-bugs] [Boost C++ Libraries] #7258: boost::filesystem::create_directories(const &path) returns false if the path contains a slash at the end of the string

Subject: [Boost-bugs] [Boost C++ Libraries] #7258: boost::filesystem::create_directories(const &path) returns false if the path contains a slash at the end of the string
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-08-21 15:19:15


#7258: boost::filesystem::create_directories(const &path) returns false if the
path contains a slash at the end of the string
-------------------------------------+--------------------------------------
 Reporter: francis.thibault@… | Owner: bemandawes
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: filesystem
  Version: Boost 1.52.0 | Severity: Problem
 Keywords: create_directories() |
-------------------------------------+--------------------------------------
 for example, if we want to create that following directory:
 path="C:/users/test/"

 the function create_directories(path) returns false even if the directory
 is created and exists.

 However, if we remove the slash at the end of the string
 path="C:/users/test", the function returns true.

 Is it the normal behavior of that function?

 Thanks.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7258>
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:10 UTC