http://bugs.winehq.org/show_bug.cgi?id=1811
------- Additional Comments From daniel.elstner@gmx.net 2004-14-08 22:08 ------- I'm not using CVS, but the bug definitely still exists in version 20040615 (Debian package). Specifically, any invocation of FindFirstFileExW and subsequent FindNextFileW just doesn't work. Note that the file names in question don't even contain any non-ASCII characters (nor does the full path). There seems to be a race condition involved as well; during my endless tries it happened to work about two times. Why wine cares about the utf8 flag in fstab at all is a mystery to me... Anyway, here's the relevant part of the log:
trace:file:FindFirstFileExW L"C:\Programme\LucasArts\Monkey4\*.mix" 0 0x408cf49c 0 (nil) 0 trace:file:RtlDosPathNameToNtPathName_U (L"C:\Programme\LucasArts\Monkey4\*.mix",0x408cf444,0x408cf44c,(nil)) trace:file:RtlGetFullPathName_U (L"C:\Programme\LucasArts\Monkey4\*.mix" 520 0x408cf1e8 0x408cf44c) trace:file:wine_nt_to_unix_file_name L"\??\C:\Programme\LucasArts\Monkey4\" -> "/home/daniel/.wine/dosdevices/c:/Programme/LucasArts/Monkey4/" trace:file:FindNextFileW 0x40403b88 0x408cf49c trace:file:NtQueryDirectoryFile (0x8c (nil) (nil) (nil) 0x408cf3f0 0x40403bbc 0x00002000 0x00000003 0x00000000 L"*.mix" 0x00000000 trace:file:append_entry long L"."... short L"" mask L"*.mix" trace:file:match_filename (L"."..., L"*.mix") trace:file:append_entry long L".."... short L"" mask L"*.mix" trace:file:match_filename (L".."..., L"*.mix") trace:file:NtQueryDirectoryFile => 80000006 (0) trace:file:FindFirstFileExW L"C:\Programme\LucasArts\Monkey4\*.mix" not found trace:file:FindFirstFileExW L"C:\Programme\LucasArts\Monkey4\*.mix" 0 0x408cf49c 0 (nil) 0 trace:file:RtlDosPathNameToNtPathName_U (L"C:\Programme\LucasArts\Monkey4\*.mix",0x408cf444,0x408cf44c,(nil)) trace:file:RtlGetFullPathName_U (L"C:\Programme\LucasArts\Monkey4\*.mix" 520 0x408cf1e8 0x408cf44c) trace:file:wine_nt_to_unix_file_name L"\??\C:\Programme\LucasArts\Monkey4\" -> "/home/daniel/.wine/dosdevices/c:/Programme/LucasArts/Monkey4/" trace:file:FindNextFileW 0x40403b88 0x408cf49c trace:file:NtQueryDirectoryFile (0x8c (nil) (nil) (nil) 0x408cf3f0 0x40403bbc 0x00002000 0x00000003 0x00000000 L"*.mix" 0x00000000 trace:file:append_entry long L"."... short L"" mask L"*.mix" trace:file:match_filename (L"."..., L"*.mix") trace:file:append_entry long L".."... short L"" mask L"*.mix" trace:file:match_filename (L".."..., L"*.mix") trace:file:NtQueryDirectoryFile => 80000006 (0) trace:file:FindFirstFileExW L"C:\Programme\LucasArts\Monkey4\*.mix" not found