Opened 9 years ago
Closed 6 years ago
#9060 closed Bugs (fixed)
Undocumented breaking change in boost:::filesystem::create_directories
| Reported by: | Owned by: | Beman Dawes | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | filesystem | 
| Version: | Boost 1.54.0 | Severity: | Problem | 
| Keywords: | Cc: | 
Description
There was a change in create_directories since 1.48.0 where it handles empty paths differently. In 1.48.0, the function would return false, but in recent versions it will throw an exception instead of returning false because the logic that handles empty paths was removed. This case is not covered in the unit tests.
Change History (3)
comment:1 by , 9 years ago
| Summary: | Undocumented breaking changes in boost:::filesystem::create_directories → Undocumented breaking change in boost:::filesystem::create_directories | 
|---|
comment:2 by , 6 years ago
comment:3 by , 6 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
Fixed. Thanks to both of you!
--Beman
  Note:
 See   TracTickets
 for help on using tickets.
    

Hi, I did a PR for that: https://github.com/boostorg/filesystem/pull/36 Thanks, Charles