authorgravatar for marc@tiehu.isMarc Tiehuis <marc@tiehu.is> 2018-04-13 22:50:57+12:00
committergravatar for marc@tiehu.isMarc Tiehuis <marc@tiehu.is> 2018-04-13 22:50:57+12:00
logfe9489ad63ea8231bb0366d7608e52d0d30bfefb
treecf84a47f1a59ffffe4a01d46f4beae103d2efadb
parent03bec631bd493dc157d0c071363c967caf7f57ac

Fix windows access check


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

std/os/file.zig+1-1
...@@ -112,7 +112,7 @@ pub const File = struct {...@@ -112,7 +112,7 @@ pub const File = struct {
112 }112 }
113 return true;113 return true;
114 } else if (is_windows) {114 } else if (is_windows) {
115 if (os.windows.PathFileExists(path_with_null.ptr)) {115 if (os.windows.PathFileExists(path_with_null.ptr) == os.windows.TRUE) {
116 return true;116 return true;
117 }117 }
118118