Re: winevdm: can't exec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Changelog:
    Windows ignores values of e_cparhdr and e_crlc of the MZ header.

--- cvs/hq/wine/loader/module.c	Tue Jul 22 01:13:12 2003
+++ wine/loader/module.c	Mon Aug 18 09:54:32 2003
@@ -200,10 +200,6 @@
          * structure encompasses the "Offset to extended header"
          * field.
          */
-        if ((header.mz.e_cparhdr << 4) < sizeof(IMAGE_DOS_HEADER))
-            return BINARY_DOS;
-        if (header.mz.e_crlc && (header.mz.e_lfarlc < sizeof(IMAGE_DOS_HEADER)))
-            return BINARY_DOS;
         if (header.mz.e_lfanew < sizeof(IMAGE_DOS_HEADER))
             return BINARY_DOS;
         if (SetFilePointer( hfile, header.mz.e_lfanew, NULL, SEEK_SET ) == -1)





[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux