Module: wine Branch: refs/heads/master Commit: 8445773c0e43f8548d517ae7bf23757e74fe1fc4 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=8445773c0e43f8548d517ae7...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Feb 20 12:03:05 2006 +0100
kernel: Don't require execute permission for DOS memory, this will be done in winedos if necessary.
---
dlls/kernel/dosmem.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/kernel/dosmem.c b/dlls/kernel/dosmem.c index 73bc2dc..7642b27 100644 --- a/dlls/kernel/dosmem.c +++ b/dlls/kernel/dosmem.c @@ -99,7 +99,7 @@ BOOL load_winedos(void) /* ok, we're the winning thread */ if (!VirtualProtect( DOSMEM_dosmem + DOSMEM_protect, DOSMEM_SIZE - DOSMEM_protect, - PAGE_EXECUTE_READWRITE, NULL ) || + PAGE_READWRITE, NULL ) || !(hModule = LoadLibraryA( "winedos.dll" ))) { ERR("Could not load winedos.dll, DOS subsystem unavailable\n");