Hello,
Alexandre please don't apply this patch. Ove told me why the hack is in. I'll redo the patch.
bye michael
On Fri, Jan 16, 2004 at 02:43:16AM +0100, Michael Stefaniuc wrote:
the attached patch fixes a problem when loading DOS exe files which have 4 bytes on the last page of the executable. There is no comment in the code and i googled and couldn't find any reason or hint why having 4 bytes on the last page is special and why we should than load the full 512 bytes of the last page (i'm CC'ing wine-devel just in case). This prevents some of the "PC Intern 4, Systemprogrammierung" DOS example files from running with an 'invalid exe file' error.
License: LGPL, X11 Changelog: Michael Stefaniuc mstefani@redhat.com
- do not load the full last page of a DOS EXE if we have only 4 bytes in it.