https://bugs.winehq.org/show_bug.cgi?id=55368
Bug ID: 55368 Summary: NtCreateFile broken for non-ASCII with RootDirectory Product: Wine Version: 8.12 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: novae.harpist06@icloud.com Distribution: ---
Created attachment 74950 --> https://bugs.winehq.org/attachment.cgi?id=74950 Reproducer
Output on Windows:
00000000
Output on Wine:
C000003B
relevant logs with +file:
0114:trace:file:NtCreateFile handle=0x11fd38 access=00100001 name=L"\??\C:\test" objattr=00000040 root=(nil) sec=(nil) io=0x11fd40 alloc_size=(nil) attr=00000080 sharing=00000003 disp=3 options=00204021 ea=(nil).0x00000000 0114:trace:file:nt_to_unix_file_name_no_root L"\??\C:\test" -> "/root/.wine/dosdevices/c:/test" 0114:trace:file:NtCreateFile handle=0x11fd18 access=c0110000 name=L"\0171.txt" objattr=00000040 root=(nil) sec=(nil) io=0x11fd40 alloc_size=(nil) attr=00000080 sharing=00000000 disp=3 options=00000020 ea=(nil).0x00000000 0114:warn:file:NtCreateFile L"\0171.txt" not found (c000003b)
https://bugs.winehq.org/show_bug.cgi?id=55368
--- Comment #1 from Alexandre Julliard julliard@winehq.org --- (In reply to novae.harpist06 from comment #0)
0114:trace:file:NtCreateFile handle=0x11fd18 access=c0110000 name=L"\0171.txt" objattr=00000040 root=(nil)
^^^^^^^^^^ There's no root directory here, you are probably not running the code that you intended.