diff options
| author | ndbn <twit.prj@gmail.com> | 2024-01-22 23:32:23 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-22 15:32:23 -0500 |
| commit | 9e684e8d1af39904055abe64a9afda69a3d44a59 (patch) | |
| tree | fd1227a1d400f735e7e01a53f862ab6aa7398489 /src/Compilation.zig | |
| parent | 3331c5e7af28bd2ee56a1080a1829e3fb6747f60 (diff) | |
| download | zig-9e684e8d1af39904055abe64a9afda69a3d44a59.tar.gz zig-9e684e8d1af39904055abe64a9afda69a3d44a59.zip | |
Fix wrong if condition for windows (#18637)
Fixes #18594
Diffstat (limited to 'src/Compilation.zig')
| -rw-r--r-- | src/Compilation.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig index 171c2ecf60..58f56517c3 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -2365,7 +2365,7 @@ fn renameTmpIntoCache( // See https://github.com/ziglang/zig/issues/8362 error.AccessDenied => switch (builtin.os.tag) { .windows => { - if (!seen_eaccess) return error.AccessDenied; + if (seen_eaccess) return error.AccessDenied; seen_eaccess = true; try cache_directory.handle.deleteTree(o_sub_path); continue; |
