[kernel] correct OpenFile test

Dmitry Timoshkov dmitry at baikal.ru
Mon Oct 17 09:59:34 CDT 2005


"Oliver Stieber" <oliver_stieber at yahoo.co.uk> wrote:

> > file.c:1413: Test failed: hFile != FALSE : -1
> 
> -1 is HFILE_ERROR and  FALSE is 0  (defined in windef.h), is this running the old or the patched
> one?

It's the result of running existing tests. I just wanted to point out
that the second chunk of your patch looks ok, but the first part should be
left unchanged. Also, the code in dlls/kernel/file.c,OpenFile() needs to be
fixed as well to make your tests pass.

-- 
Dmitry.




More information about the wine-devel mailing list