Files
filesystem/doc
Andrey Semashev 11beaba974 Reimplement canonical in terms of GetFinalPathNameByHandleW on Windows.
This moves the common part of v3 and v4 canonical() to a separate
function and changes the Windows implementation to use
GetFinalPathNameByHandleW system call. As a side effect, this converts
drive names to upper case, which makes paths more interoperable.

Additionally, on POSIX systems, avoid adding a trailing directory
separator if the input path has one (which may be the case in v4). This
is consistent with libstdc++ and MSVC implementations of std::filesystem.

Fixes https://github.com/boostorg/filesystem/issues/325.
2024-09-16 21:19:10 +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