On 9 Jan 2001, Alexandre Julliard wrote:
> Ken Coleman <[EMAIL PROTECTED]> writes:
>
> > The problem appears to be using the VirtualFree() function with the
> > MEM_DECOMMIT flag on a section of memory that hasn't been allocated by
> > VirtualAlloc(). I have no idea why AOE2 is doing this (it may be
> > related to another bug or something), but it's definitely legal under
> > Windows.
>
> Does this help?
>
> Index: memory/virtual.c
> ===================================================================
> RCS file: /opt/cvs-commit/wine/memory/virtual.c,v
> retrieving revision 1.55
> diff -u -r1.55 virtual.c
> --- memory/virtual.c 2001/01/05 04:08:08 1.55
> +++ memory/virtual.c 2001/01/09 21:10:51
> @@ -56,6 +56,7 @@
>
> /* Per-view flags */
> #define VFLAG_SYSTEM 0x01
> +#define VFLAG_VALLOC 0x02 /* allocated by VirtualAlloc */
Uh... and does it also make sense? It would be reasonable to equate
"allocated by VirtualAlloc" == !VFLAG_SYSTEM
(Or am I becoming annoying here? (Hey, what happened to the last
signal_i386 patch?))