bug-gnu-chess
[Top][All Lists]
Advanced

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

Re: -a doesn't work in gnuchess-6.2.2


From: Antonio Ceballos
Subject: Re: -a doesn't work in gnuchess-6.2.2
Date: Sun, 18 Oct 2015 19:49:14 +0200

Hi Adam,

Thanks for spotting this error. Your analysis has helped me to fix it. 
I have uploaded the change to the software repository, but it will take
some time to release a new version.

Regards,
Antonio Ceballos


On Sun, Oct 18, 2015 at 1:05 PM, Adam Sampson <address@hidden> wrote:
Hi,

In gnuchess 6.2.2, the -a command-line option doesn't work properly: it
ought to compile the book and then quit, but it leaves the user sitting
at the gnuchess prompt instead of quitting.

>From a quick look at the code, this seems to be because the loop at the
bottom of main() runs until (flags & QUIT), but the only thing that sets
QUIT is ForwardUserInputToEngine, which hasn't been used by the -a code.

Thanks,

--
Adam Sampson <address@hidden>                         <http://offog.org/>

_______________________________________________
Bug-gnu-chess mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/bug-gnu-chess


reply via email to

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