http://bugs.winehq.org/show_bug.cgi?id=48083
--- Comment #3 from Ken Sharp imwellcushtymelike@gmail.com --- No change in Wine 10.9
012c:trace:file:RtlGetFullPathName_U (L"Z:\tmp\wine\test.\*" 520 006AD75C 006ADA04) 012c:trace:file:RtlGetFullPathName_UEx (L"Z:\tmp\wine\test.\*" 520 006AD75C 006ADA04 00000000) 012c:Ret ntdll.RtlDosPathNameToNtPathName_U() retval=00000001 ret=7b5fbbf7 012c:Call ntdll.wcspbrk(00705b22 L"*",7b67195c L"*?<>") ret=7b5fbc3a 012c:Ret ntdll.wcspbrk() retval=00705b22 ret=7b5fbc3a 012c:trace:path:PathFindFileNameW L"Z:\tmp\wine\test.\*"
PathFindFileNameW doesn't seem to do anything with . so surely this should be passed along untouched?
012c:Call ntdll.RtlAllocateHeap(00240000,00000000,00002040) ret=7b5fbca2 012c:Ret ntdll.RtlAllocateHeap() retval=0070bd88 ret=7b5fbca2 012c:Call ntdll.NtOpenFile(0070bd8c,00100001,006ada20,006ada10,00000003,00004021) ret=7b5fbd44
But the . disappears
012c:trace:file:NtCreateFile handle=0x70bd8c access=00100001 name=L"\??\Z:\tmp\wine\test\" objattr=00000040 root=(nil) sec=(nil) io=0x6ada10 alloc_size=(nil) attr=00000000 sharing=00000003 disp=1 options=00004021 ea=(nil).0x00000000 012c:trace:file:nt_to_unix_file_name_no_root L"tmp\wine\test\*" not found in "/tmp/wine/wineprefix/dosdevices/z:" 012c:warn:file:NtCreateFile L"\??\Z:\tmp\wine\test\" not found (c0000034) 012c:Ret ntdll.NtOpenFile() retval=c0000034 ret=7b5fbd44
So file not found.