| ... | @@ -1682,7 +1682,7 @@ pub fn renameatW( | ... | @@ -1682,7 +1682,7 @@ pub fn renameatW( |
| 1682 | const access_mask = windows.SYNCHRONIZE | windows.GENERIC_WRITE | windows.DELETE; | 1682 | const access_mask = windows.SYNCHRONIZE | windows.GENERIC_WRITE | windows.DELETE; |
| 1683 | const src_fd = windows.OpenFileW(old_dir_fd, old_path, null, access_mask, null, false, windows.FILE_OPEN) catch |err| switch (err) { | 1683 | const src_fd = windows.OpenFileW(old_dir_fd, old_path, null, access_mask, null, false, windows.FILE_OPEN) catch |err| switch (err) { |
| 1684 | error.WouldBlock => unreachable, | 1684 | error.WouldBlock => unreachable, |
| 1685 | else => return err, | 1685 | else => |e| return e, |
| 1686 | }; | 1686 | }; |
| 1687 | defer windows.CloseHandle(src_fd); | 1687 | defer windows.CloseHandle(src_fd); |
| 1688 | | 1688 | |