winetest: Run tests again on Win9x

Detlef Riekenberg wine.dev at web.de
Tue Jul 15 17:11:02 CDT 2008


Fix regression from commit 23296f0c4ae0001fcd0e0e5a1c382fb9de06d6ce
(winetest: Use Win32 APIs exclusively for file I/O and output
redirection.)

The commit added FILE_SHARE_DELETE to allow a cleanup, even when a File
is still in use (test crashed), but FILE_SHARE_DELETE is not supported
on Win9x.
(CreateFileA failed with ERROR_INVALID_PARAMETER).

To still allow FILE_SHARE_DELETE on NT, CreateFileA is called again
without
FILE_SHARE_DELETE, when the error-case from Win9x is detected.


-- 
 
By by ... Detlef

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winetest-Run-tests-again-on-Win9x.txt
Type: application/mbox
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080716/0076a9f1/attachment.bin 


More information about the wine-patches mailing list