You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check file status for status_error in create_directories.
create_directories used to ignore errors returned by status()
calls issued internally. The operation would likely fail anyway,
but the error codes returned by create_directories would be incorrect.
Also, it is better to terminate the operation as early as possible
when an error is encountered.
Reported in boostorg#182.
Copy file name to clipboardExpand all lines: doc/release_history.html
+1
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,7 @@ <h2>1.76.0</h2>
42
42
<ul>
43
43
<li>Updated compatibility with <ahref="https://wasi.dev/">WASI</a> platform. (<ahref="https://github.com/boostorg/filesystem/pull/169">PR#169</a>)</li>
44
44
<li>Fixed an exception being thrown by <code>path::remove_filename</code> if the path is "////". (<ahref="https://github.com/boostorg/filesystem/issues/176">#176</a>)</li>
45
+
<li>Fixed <code>create_directories</code> disregarding errors from file status query operations issued internally. This could result in incorrect error codes returned by <code>create_directories</code>. (<ahref="https://github.com/boostorg/filesystem/issues/182">#182</a>)</li>
0 commit comments