Closed
Description
The os package has a function fixLongPath that is used on Windows to turn a very long name like c:\very\long\name.txt
to \\?\c:\very\long\name.txt
.
This function bails out on relative path names. It also bails out on paths containing ..
.
This has caused no end of problems and confusion with certain APIs that do or don't accept certain paths.
We should fix fixLongPath to correctly handle all possible inputs and eliminate all those problems.