-a doesn't work in gnuchess-6.2.2

Adam Sampson <[email protected]> Sun, 18 Oct 2015 12:05:58 +0100
Newsgroups gmane.comp.gnu.chess.bugs
Message-ID <[email protected]>
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 <[email protected]>                         <http://offog.org/>