| author | |
| committer | |
| log | 515ee5b2fa0161e3df4cfe47c71847f8b3476bf2 |
| tree | 0a2131ef5d17add2d1422a2bdaf256da77ab2a0f |
| parent | 9b595dd55f1ae336e2fb4e2a64334efe137dc19a |
This correctly mimicks POSIX behavior.1 files changed, 1 insertions(+), 0 deletions(-)
lib/std/os.zig+1| ... | ... | @@ -2651,6 +2651,7 @@ pub fn renameatW( |
| 2651 | 2651 | .creation = windows.FILE_OPEN, |
| 2652 | 2652 | .io_mode = .blocking, |
| 2653 | 2653 | .filter = .any, // This function is supposed to rename both files and directories. |
| 2654 | .follow_symlinks = false, | |
| 2654 | 2655 | }) catch |err| switch (err) { |
| 2655 | 2656 | error.WouldBlock => unreachable, // Not possible without `.share_access_nonblocking = true`. |
| 2656 | 2657 | else => |e| return e, |