diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-08-18 00:50:14 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-18 00:50:14 -0400 |
| commit | df507edffe6c1087b5f4786cb64ccaffd02b6848 (patch) | |
| tree | 2134ba2f867db8bf4fbfab2b1aaed0f5759c0db9 /lib | |
| parent | 79757f233d9bfc646caa13d20243266a19bbdf91 (diff) | |
| parent | b6ce0cce69e4bf37509f99040abda4ca92bec6cb (diff) | |
| download | zig-df507edffe6c1087b5f4786cb64ccaffd02b6848.tar.gz zig-df507edffe6c1087b5f4786cb64ccaffd02b6848.zip | |
Merge pull request #12461 from ziglang/fix-12421
Fixes link-tests and `atomicSymLink` on Windows
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/std/os.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/std/os.zig b/lib/std/os.zig index 984758565c..c757561b07 100644 --- a/lib/std/os.zig +++ b/lib/std/os.zig @@ -2651,6 +2651,7 @@ pub fn renameatW( .creation = windows.FILE_OPEN, .io_mode = .blocking, .filter = .any, // This function is supposed to rename both files and directories. + .follow_symlinks = false, }) catch |err| switch (err) { error.WouldBlock => unreachable, // Not possible without `.share_access_nonblocking = true`. else => |e| return e, |
