regression in kernel OpenFile

Oliver Stieber oliver_stieber at yahoo.co.uk
Sun Oct 16 14:09:49 CDT 2005


Hi,

This patch http://www.winehq.org/pipermail/wine-patches/2005-October/021218.html causes regression
in 'No One Lives Forever Demo'


Method to reproduce:

Download 'No One Lives Forever Mega Mix Demo - Version 1.002' from
http://www.noonelivesforever.com/downloads/ (ftp://ftp.lith.com/pub/nolf/NOLFDemo.zip)
unzip and install the game
start the game wine NOLFDEMO.exe
the game will start to load sit in a loop.

reverting the patch corrects the problem.

NOTE: The game attempts to create a file c:\Program Files\Fox\No One Lives Forever
Demo\Save\Summary.sav

The file must not exist for the regression to show, so it should be deleted, if it exists, before
testing. With the patch applied the game can be made to start by creating the file echo "" >
Summart.sav.


MSDN Notes: 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/openfile.asp
If the function fails, the return value is HFILE_ERROR

There's no reference to returning FALSE is OF_EXIST is passed as a parameter.





		
___________________________________________________________ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com



More information about the wine-devel mailing list