[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] Crash found in 3.4
From: |
Arend Bayer |
Subject: |
Re: [gnugo-devel] Crash found in 3.4 |
Date: |
Sun, 4 Jan 2004 14:00:30 +0100 (CET) |
I had wanted to propose yet another alternative (treating the whole owl
stack as an array), but your patch looks better.
Thanks for cleaning up my mess.
Arend
Gunnar wrote:
> I wrote:
> > For now I'll propose solution 3, along the following lines:
> >
> > * Set up a static array of owl data pointers, of a size which is
> > guaranteed to be sufficient. Initialize all pointers to NULL.
> > * Allocate each stack entry with malloc() when needed and leave them
> > around.
>
> Implemented by the appended patch. As a side effect the code became 38
> lines shorter.
> - owl stack management reimplemented
>
> /Gunnar
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [gnugo-devel] Crash found in 3.4,
Arend Bayer <=