mirror of
https://github.com/apple/swift-foundation.git
synced 2025-05-23 22:13:35 +08:00
Use the Windows APIs properly to compute the current working directory. Query the required storage before performing the allocation and then use temporary storage to acquire a buffer. This repairs some of the build errors encountered when building on Windows.