[KERNEL 1/2] changed test for function FindFirstFileA to find dosdevices

Konstantin Petrov argentum at office.etersoft.ru
Wed Jun 7 10:03:43 CDT 2006


changed test for function FindFirstFileA to find dosdevices.

As function FindFirstFile must accept such paths as

"c:\\windows\\win.ini"
"c:\\NUL",
"c:\\COM1",
"c:\\LPT1",
"c:\\LPT9",
"c:\\COM9",
"c:\\CON",
"c:\\AUX",
"c:\\PRN"

and mustn't accept paths:

"\\\\.\\CON",
"c:\\COM0",
"",
"c:\\LPT0",
"c:nul0",
". . . :",
"c: . . .",
":"	

I changed test for this function to show the disparity.

changed files:
	dlls/kernel/tests/file.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kernel_findfirstfile_test.patch
Type: application/octet-stream
Size: 2066 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060607/a80c6920/kernel_findfirstfile_test.obj


More information about the wine-patches mailing list