Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
os: handle relative paths in fixLongPath on Windows #41734
The os package has a function fixLongPath that is used on Windows to turn a very long name like
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.