9 Aug
2006
9 Aug
'06
4:28 a.m.
Robert Reif <reif(a)earthlink.net> writes:
diff -p -u -r1.66 thread.c --- dlls/ntdll/thread.c 26 Jul 2006 14:01:20 -0000 1.66 +++ dlls/ntdll/thread.c 6 Aug 2006 01:15:43 -0000 @@ -215,7 +215,7 @@ HANDLE thread_init(void)
addr = (void *)0x7ffe0000; size = 0x10000; - NtAllocateVirtualMemory( NtCurrentProcess(), &addr, 0, &size, MEM_RESERVE, PAGE_READONLY ); + NtAllocateVirtualMemory( NtCurrentProcess(), &addr, 0, &size, MEM_RESERVE | MEM_COMMIT, PAGE_READONLY);
This code is only intended to reserve the space at startup. We need to initialize it properly later on before making it accessible. -- Alexandre Julliard julliard(a)winehq.org