https://bugs.documentfoundation.org/show_bug.cgi?id=138615
--- Comment #1 from Mike Kaganski <[email protected]> ---
I would suggest using PathCchCanonicalizeEx for this, with
PATHCCH_ENSURE_IS_EXTENDED_LENGTH_PATH flag. It fits perfectly for the task,
except conversion of "/" into "\" - it does everything else, like removing "."
and "..", making sure the path has the "\\?\" in case when the mask is shorter
than 2MAX_PATH, but the found name would be longer ... but the problem is, the
function is supported since Windows 8, while our baseline is Windows 7 still.
[1]
https://docs.microsoft.com/en-us/windows/win32/api/pathcch/nf-pathcch-pathcchcanonicalizeex
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs