winetest: Run tests again on Win9x [try 2]

Detlef Riekenberg wine.dev at web.de
Wed Jul 16 11:36:18 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.


try 2: Found and fixed another location of FILE_SHARE_DELETE


-- 
 
By by ... Detlef

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


More information about the wine-patches mailing list