mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The LLVM API for the temporary paths behaves differently on Windows and Unix. Windows always returns the absolute path, and on Unix, you get whatever is in the environment. Furthermore, windows allows both `\` and `/` as separators. Normalise the path and make it absolute before doing the comparision to get a comparable string.
49 KiB
49 KiB