bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Anomolous looking code in eval.c


From: Joern Thyssen
Subject: Re: [Bug-gnubg] Anomolous looking code in eval.c
Date: Mon, 15 Jul 2002 18:17:36 +0000
User-agent: Mutt/1.2.5.1i

On Mon, Jul 15, 2002 at 04:06:14PM +0200, Jim Segrave wrote
> This is a miscellenay of things:
> 
> First - has something happened to alpha.gnu.org? I haven't been able
> to connect to it for a while now to see if there are later snapshots?

If you wish to access the source code, it's available through anonymous 
CVS as well. Find a windows version of CVS (Concurrent Versions System),
and follow the "Anonymous CVS Access"-instructions on
<http://savannah.gnu.org/cvs/?group=gnubg>.

> 
> Second:
> 
> I was looking at the code in eval.c (I'm looking at a variant of a
> teaching mode; see below if interested) to see how cube decisions are
> evaluated. In the source from gnubg-020701.tar.gz, I find the
> following, which may be unreachable code, but...

Well, it's semi-unreachable. GetCubeActionSz should never be called if
the cube is not available. I guess the routine should return "Cube not
available\n" instead.

Jørn

-- 
Joern Thyssen, PhD
Vendsysselgade 3, 3., DK-9000 Aalborg, Denmark
+45 9813 2791 (private) / +45 2077 2689 (mobile) / +45 9633 7036 (work)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]