From 054ecfb60a18acfafa1db3666eb62c0bd0bfd36c Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Sat, 20 Apr 2024 13:18:10 +1000 Subject: [PATCH] Updated kernel32-CopyFileEx patchset https://bugs.winehq.org/show_bug.cgi?id=56573 --- ...1-kernel32-Add-support-for-progress-callback-in-CopyFi.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/kernel32-CopyFileEx/0001-kernel32-Add-support-for-progress-callback-in-CopyFi.patch b/patches/kernel32-CopyFileEx/0001-kernel32-Add-support-for-progress-callback-in-CopyFi.patch index df5fdd40..6a60cf0a 100644 --- a/patches/kernel32-CopyFileEx/0001-kernel32-Add-support-for-progress-callback-in-CopyFi.patch +++ b/patches/kernel32-CopyFileEx/0001-kernel32-Add-support-for-progress-callback-in-CopyFi.patch @@ -174,7 +174,7 @@ index 7806ad2ec1f..e5adc0d4e2c 100644 + basic_info.LastAccessTime = info.LastAccessTime; + basic_info.LastWriteTime = info.LastWriteTime; + basic_info.ChangeTime = info.ChangeTime; -+ basic_info.FileAttributes &= FILE_ATTRIBUTE_READONLY; ++ basic_info.FileAttributes = info.FileAttributes & FILE_ATTRIBUTE_READONLY; + NtSetInformationFile( h2, &io, &basic_info, sizeof(basic_info), FileBasicInformation ); HeapFree( GetProcessHeap(), 0, buffer ); CloseHandle( h1 );