If the nested create_directory call fails, we'd still want to
re-report the errors with the create_directories function name,
which is what the caller called.
This fixes one aspect from MS STL's tests for std::filesystem.
Paths
| Differential D102365
[libcxx] Fix the function name in exceptions from create_directories ClosedPublic Authored by mstorsjo on May 12 2021, 1:39 PM.
Details
Summary If the nested create_directory call fails, we'd still want to This fixes one aspect from MS STL's tests for std::filesystem.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 25 2021, 1:25 PM Closed by commit rG68e45962531a: [libcxx] Fix the function name in exceptions from create_directories (authored by mstorsjo). · Explain WhyMay 25 2021, 1:50 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 347778 libcxx/src/filesystem/operations.cpp
libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directories/create_directories.pass.cpp
|