[Boost-bugs] [Boost C++ Libraries] #9191: create_directories() return false if path has / at the end

Subject: [Boost-bugs] [Boost C++ Libraries] #9191: create_directories() return false if path has / at the end
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-10-02 10:55:18


#9191: create_directories() return false if path has / at the end
-----------------------+------------------------------
 Reporter: gnuetzi@… | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.54.0
 Severity: Problem | Keywords:
-----------------------+------------------------------
 for example, if we want to create that following directory:
 path="./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="./users/test", the function returns true.

 Is it the normal behavior of that function?

 Thanks.

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