mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 08:45:52 +00:00
Windows: Fix std.fs.realpath/os.realpathW for directories
This commit is contained in:
parent
e2fd289a33
commit
9b1b44b41c
@ -3077,7 +3077,7 @@ pub fn realpathW(pathname: [*:0]const u16, out_buffer: *[MAX_PATH_BYTES]u8) Real
|
||||
windows.FILE_SHARE_READ,
|
||||
null,
|
||||
windows.OPEN_EXISTING,
|
||||
windows.FILE_ATTRIBUTE_NORMAL,
|
||||
windows.FILE_FLAG_BACKUP_SEMANTICS,
|
||||
null,
|
||||
);
|
||||
defer windows.CloseHandle(h_file);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user