mirror of
https://github.com/apple/swift-system
synced 2026-11-22 04:30:46 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3a1b4a8e05 | ||
|
|
f18ed75481 |
@@ -17,7 +17,7 @@ internal func _getTemporaryDirectory() throws -> FilePath {
|
||||
capacity: Int(MAX_PATH) + 1) {
|
||||
buffer in
|
||||
|
||||
guard GetTempPath2W(DWORD(buffer.count), buffer.baseAddress) != 0 else {
|
||||
guard GetTempPathW(DWORD(buffer.count), buffer.baseAddress) != 0 else {
|
||||
throw Errno(windowsError: GetLastError())
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user