Files
filesystem/doc
Andrey Semashev 41a990ef14 Fix weakly_canonical with relative input paths.
When weakly_canonical was called with a relative input path, the operation
would test path elements for existence, which meant resolving them relative
to the current path instead of the base path specified in the call. To
mitigate this, make the source path absolute using the specified base path.

As a side effect, this fixes incorrect path produced on Windows if the
input path started with "..". The algorithm was unable to remove the last
element of the head path because there was none. As a result, the remaining
elements of the input path were appended to the full base path by canonical.

Fixes to https://github.com/boostorg/filesystem/issues/311.
2024-07-03 15:02:47 +03:00
..
2024-01-20 03:21:56 +03:00
2024-03-24 00:10:13 +03:00
2024-03-24 00:10:13 +03:00
2024-03-24 00:10:13 +03:00
2024-01-20 03:21:56 +03:00
2024-01-20 03:21:56 +03:00