May 28, 2026
9:33 p.m.
On Thu May 28 21:15:48 2026 +0000, Bernhard Übelacker wrote:
Thanks for taking a look. I first thought also at something like the patch in https://testbot.winehq.org/JobDetails.pl?Key=163148 . This seems to [show a situation](https://gitlab.winehq.org/wine/wine/-/blob/master/dlls/setupapi/tests/devins...) where we need to copy destW to dest even when the SetupCopyOEMInfW returned FALSE. Therefore I tried not to touch current conditions around the copy and find a solution without checking the return value. I think it would still be better to check for "ret || GetLastError() == ERROR_FILE_EXISTS" explicitly.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/11014#note_141591