CreateFile GENERIC_WRITE on a directory

Kenneth Porter shiva at sewingwitch.com
Mon Oct 18 23:46:40 CDT 2004


--On Sunday, October 10, 2004 3:45 PM -0700 Kenneth Porter 
<shiva at sewingwitch.com> wrote:

> Opened a bugzilla:
>
> <http://bugs.winehq.org/show_bug.cgi?id=2508>

I've since cobbled together a patch to dlls/kernel/file.c that watches for 
this case and switches the GENERIC_WRITE to a GENERIC_READ. This lets the 
app start up properly. (The patch is attached to the bug.)

I'm not yet happy with my patch, as it's just a hack for this one app and 
is likely to break other things.

Can someone more familiar with the code suggest an approach to do this the 
"right" way?



More information about the wine-devel mailing list