Possible solution for bug 3028

Karsten Elfenbein kelfe at gmx.de
Sat Sep 10 10:10:37 CDT 2005


Hi,

after a lot of trail & error I found out that in dlls/kernel/file.c line
1483-1484 the filename/mask is removed.
After removing those two codelines the mask was handed over to
wine_nt_to_unix_file_name (dlls/ntdll/directory.c)
In the wine_nt_to_unix_file_name function it exits at the invalid char
check in line 1418-1419 because a "*" is in the file name.
If I comment out that loop the updated test case is producing the same
error codes as windows xp.

Does anyone have a better solution to solve this? (why is the mask
removed in dlls/kernel/file.c? why is the "*" an illegal char in
dlls/ntdll/directory.c check?)

Karsten

http://bugs.winehq.org/show_bug.cgi?id=3028





More information about the wine-devel mailing list