Alex Hoppen 3f9171072d
Conditionalize stripping of \\?\ on it actually being present (#974)
As far as I know `\\?\` is always returned by `GetFinalPathNameByHandleW` but it’s better to be safe and actually check instead of unconditionally trimming the first 4 characters from the returned path.

See https://github.com/swiftlang/swift-tools-support-core/pull/485#discussion_r1795781075
2024-10-11 11:38:06 -07:00
..