Hi Paul,
On 4/11/22 19:13, Paul Gofman wrote:
+DWORD __cdecl _Copy_file(WCHAR const* src, WCHAR const* dst) +{
- TRACE("src %s, dst %s.\n", debugstr_w(src), debugstr_w(dst));
- if (CopyFileW(src, dst, FALSE))
- {
SetLastError(ERROR_SUCCESS);
It looks like the SetLastError call is only needed because of a bug in CopyFileW implementation. Please remove it and mark the test as todo_wine or fix CopyFileW.
Thanks, Piotr