|
From: David W. <we...@cw...> - 2001-09-27 02:17:31
|
On Tue, Sep 25, 2001 at 06:53:08PM -0700, Jack (Butch) Griffin wrote: > Included below is a patch (I think) for a problem I mentioned earlier. > Basically the behavior between Windows 2000 and ReactosOS was different in > the case of a call to VirtualAlloc with a NULL base address and MEM_COMMIT. > The patch below adds a simple test case to vmtest.c and update > NtAllocateVirtualMemory() to handle this case by calling itself recursively > first with MEM_RESERVE to reserve the address space, and then with > MEM_COMMIT to commit the memory. > I think it would be easier to fix this by adding in the MEM_RESERVE flag if it is missing. I've committed the change; let me know if this works or not. ==================================================== = To remove yourself from this mailing list, go to = = http://www.reactos.com/home/mailing.html = ==================================================== |