[ntdll] load all dll sections no matter what attributes say

Vitaliy Margolen wine-patch at kievinfo.com
Fri Jul 1 14:54:25 CDT 2005


Vitaliy Margolen

changelog:
  dlls/ntdll/virtual.c
    Load all dll sections no matter what attributes say
-------------- next part --------------
Index: dlls/ntdll/virtual.c
===================================================================
RCS file: /home/wine/wine/dlls/ntdll/virtual.c,v
retrieving revision 1.55
diff -u -p -r1.55 virtual.c
--- dlls/ntdll/virtual.c	25 Jun 2005 18:00:57 -0000	1.55
+++ dlls/ntdll/virtual.c	1 Jul 2005 19:52:44 -0000
@@ -969,8 +969,6 @@ static NTSTATUS map_image( HANDLE hmappi
                         sec->PointerToRawData, sec->SizeOfRawData,
                         sec->Characteristics );
 
-        if ((sec->Characteristics & IMAGE_SCN_CNT_UNINITIALIZED_DATA) &&
-            !(sec->Characteristics & IMAGE_SCN_CNT_INITIALIZED_DATA)) continue;
         if (!sec->PointerToRawData || !sec->SizeOfRawData) continue;
 
         /* Note: if the section is not aligned properly map_file_into_view will magically


More information about the wine-patches mailing list