Opened 9 years ago

Closed 6 years ago

#9060 closed Bugs (fixed)

Undocumented breaking change in boost:::filesystem::create_directories

Reported by: Nick Kochakian <nkochakian@…> 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 Nick Kochakian <nkochakian@…>, 9 years ago

Summary: Undocumented breaking changes in boost:::filesystem::create_directoriesUndocumented breaking change in boost:::filesystem::create_directories

comment:2 by Charles Olivi <charles.olivi@…>, 6 years ago

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

comment:3 by Beman Dawes, 6 years ago

Resolution: fixed
Status: newclosed

Fixed. Thanks to both of you!

--Beman

Note: See TracTickets for help on using tickets.