wine/memory virtual.c

Alexandre Julliard julliard at winehq.com
Wed Oct 24 14:04:51 CDT 2001


Ove Kaaven <ovehk at ping.uio.no> writes:

> Since main_exe_file is apparently never used again anyway after
> init_process_done, I've simply used the following hack to close the .exe
> file on the wineserver side, assuming the server file object only needs to
> exist to detect sharing violations, not for actually ever accessing the
> file again:

It's used at least in debug events, so yes it's possible that the
debugger will try to use the handle to read the file. Probably better
to close it completely when on removable media; and we'll need to do
this for dlls too. I'll try to come up with something.

-- 
Alexandre Julliard
julliard at winehq.com




More information about the wine-devel mailing list