| ... | @@ -1680,7 +1680,7 @@ pub fn renameatW( | ... | @@ -1680,7 +1680,7 @@ pub fn renameatW( |
| 1680 | ReplaceIfExists: windows.BOOLEAN, | 1680 | ReplaceIfExists: windows.BOOLEAN, |
| 1681 | ) RenameError!void { | 1681 | ) RenameError!void { |
| 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 = try windows.OpenFileW(old_dir_fd, old_path, null, access_mask, null, windows.FILE_OPEN); | 1683 | const src_fd = try windows.OpenFileW(old_dir_fd, old_path, null, access_mask, null, false, windows.FILE_OPEN); |
| 1684 | defer windows.CloseHandle(src_fd); | 1684 | defer windows.CloseHandle(src_fd); |
| 1685 | | 1685 | |
| 1686 | const struct_buf_len = @sizeOf(windows.FILE_RENAME_INFORMATION) + (MAX_PATH_BYTES - 1); | 1686 | const struct_buf_len = @sizeOf(windows.FILE_RENAME_INFORMATION) + (MAX_PATH_BYTES - 1); |