Groups | Search | Server Info | Login | Register


Groups > gnu.chess.bug > #2

-a doesn't work in gnuchess-6.2.2

Path csiph.com!xmission!news.glorb.com!usenet.stanford.edu!not-for-mail
From Adam Sampson <ats@offog.org>
Newsgroups gnu.chess.bug
Subject -a doesn't work in gnuchess-6.2.2
Date Sun, 18 Oct 2015 12:05:58 +0100
Lines 15
Sender Adam Sampson <ats@offog.org>
Approved bug-gnu-chess@gnu.org
Message-ID <mailman.556.1445174717.7904.bug-gnu-chess@gnu.org> (permalink)
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Trace usenet.stanford.edu 1445174717 1681 208.118.235.17 (18 Oct 2015 13:25:17 GMT)
X-Complaints-To action@cs.stanford.edu
To bug-gnu-chess@gnu.org
Envelope-to bug-gnu-chess@gnu.org
Content-Disposition inline
X-Homepage http://offog.org/
User-Agent Mutt/1.5.24 (2015-08-30)
X-detected-operating-system by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From 81.187.30.52
X-Mailman-Approved-At Sun, 18 Oct 2015 09:25:15 -0400
X-BeenThere bug-gnu-chess@gnu.org
X-Mailman-Version 2.1.14
Precedence list
List-Id Bug reports for GNU Chess <bug-gnu-chess.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-gnu-chess>, <mailto:bug-gnu-chess-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-gnu-chess>
List-Post <mailto:bug-gnu-chess@gnu.org>
List-Help <mailto:bug-gnu-chess-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-gnu-chess>, <mailto:bug-gnu-chess-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.chess.bug:2

Show key headers only | View raw


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 <ats@offog.org>                         <http://offog.org/>

Back to gnu.chess.bug | Previous | Next | Find similar


Thread

-a doesn't work in gnuchess-6.2.2 Adam Sampson <ats@offog.org> - 2015-10-18 12:05 +0100

csiph-web