Fix a regression in registry

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

 



This patch fixes a regression introduced in the last patch from Eric
Pouech. Now you can load a windows nt registry again.

a+

Max

Changelog:
 * fix a regression in registry.c when loading a real windows registry.

-- 
Maxime Bellengà <maxime.bellenge@laposte.net>


Index: wine/misc/registry.c
===================================================================
RCS file: /home/wine/wine/misc/registry.c,v
retrieving revision 1.124
diff -u -r1.124 registry.c
--- wine/misc/registry.c	25 Mar 2003 00:33:32 -0000	1.124
+++ wine/misc/registry.c	29 Mar 2003 17:48:23 -0000
@@ -1370,7 +1370,7 @@
     base = NULL; len = 0;
     nts = NtMapViewOfSection( hMapping, GetCurrentProcess(),
                               &base, 0, 0, &lg_int, &len, ViewShare, 0, 
-                              FILE_MAP_READ );
+			      PAGE_READONLY);
     NtClose( hMapping );
     if (nts != STATUS_SUCCESS) goto error1;
 

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

  Powered by Linux