Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

-a doesn't work in gnuchess-6.2.2

1 view
Skip to first unread message

Adam Sampson

unread,
Oct 18, 2015, 9:25:18 AM10/18/15
to bug-gn...@gnu.org
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 <a...@offog.org> <http://offog.org/>

Antonio Ceballos

unread,
Oct 18, 2015, 2:24:16 PM10/18/15
to Adam Sampson, bug-gn...@gnu.org
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


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

0 new messages