Used by crash handler in https://bugs.winehq.org/show_bug.cgi?id=58752
Test program: [test.c](/uploads/c61409fde0a02e07abce6ebec725e49b/test.c)
Oddly, on Windows 11 I get:
WINDOWS_SHORT: Windows 10
WINDOWS_LONG: Windows 11 Pro
But, since Wine defaults to Windows 10, I opted to use Windows 10 for both.
Ideally, we should probably use the configured Windows version, but I wasn't sure how to approach that.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/9159
Current code attempts to copy a file to itself. File is not actually copied; instead, a file sharing error is received. This result is ugly and differs from native. Behavior now appears to be the same as native with changes in this MR .
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/9112