[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] Current CVS crashing
From: |
Daniel Bump |
Subject: |
Re: [gnugo-devel] Current CVS crashing |
Date: |
Thu, 7 Feb 2002 12:54:24 -0800 |
> Confirmed. The problem is that the thrashing_dragon global variable is
> never reset. This should be easy to fix, but I'll leave it to Dan to
> decide where to do it.
Sorry, here it is. I'm adding this to the CVS now.
Dan
Index: engine/dragon.c
===================================================================
RCS file: /cvsroot/gnugo/gnugo/engine/dragon.c,v
retrieving revision 1.51
diff -u -r1.51 dragon.c
--- engine/dragon.c 6 Feb 2002 18:50:34 -0000 1.51
+++ engine/dragon.c 7 Feb 2002 20:54:11 -0000
@@ -551,6 +551,8 @@
if (save_verbose)
gprintf("thrashing dragon found at %1m\n", thrashing_dragon);
}
+ else
+ thrashing_dragon = 0;
/* Owl threats. */
for (str = BOARDMIN; str < BOARDMAX; str++)