authorgravatar for squeek502@hotmail.comRyan Liptak <squeek502@hotmail.com> 2020-03-09 00:52:28-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-03-09 12:59:17-04:00
log9b1b44b41c2b1efe272985af44eaae84b9c4af1c
treed1d169c61728ec4d3858fe960f82f5490fbc31d7
parente2fd289a33bb35cf4b86daa4d80adb7cc0c2c2b0

Windows: Fix std.fs.realpath/os.realpathW for directories


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/os.zig+1-1
...@@ -3077,7 +3077,7 @@ pub fn realpathW(pathname: [*:0]const u16, out_buffer: *[MAX_PATH_BYTES]u8) Real...@@ -3077,7 +3077,7 @@ pub fn realpathW(pathname: [*:0]const u16, out_buffer: *[MAX_PATH_BYTES]u8) Real
3077 windows.FILE_SHARE_READ,3077 windows.FILE_SHARE_READ,
3078 null,3078 null,
3079 windows.OPEN_EXISTING,3079 windows.OPEN_EXISTING,
3080 windows.FILE_ATTRIBUTE_NORMAL,3080 windows.FILE_FLAG_BACKUP_SEMANTICS,
3081 null,3081 null,
3082 );3082 );
3083 defer windows.CloseHandle(h_file);3083 defer windows.CloseHandle(h_file);