[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
-a doesn't work in gnuchess-6.2.2
From: |
Adam Sampson |
Subject: |
-a doesn't work in gnuchess-6.2.2 |
Date: |
Sun, 18 Oct 2015 12:05:58 +0100 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
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/>
- -a doesn't work in gnuchess-6.2.2,
Adam Sampson <=