Re: -a doesn't work in gnuchess-6.2.2
Antonio Ceballos <[email protected]> Sun, 18 Oct 2015 19:49:14 +0200
| Newsgroups | gmane.comp.gnu.chess.bugs |
|---|---|
| Message-ID | <CAO7R9g_=dc5Y1AjdJb_upsCcPQ5=-0F8yffkT3p7b3vmJOq0LQ@mail.gmail.com> |
--===============0798438474246167383== Content-Type: multipart/alternative; boundary=f46d0444e9b5a4b9fe052264a555 --f46d0444e9b5a4b9fe052264a555 Content-Type: text/plain; charset=UTF-8 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 <[email protected]> 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 <[email protected]> <http://offog.org/> > > _______________________________________________ > Bug-gnu-chess mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/bug-gnu-chess > --f46d0444e9b5a4b9fe052264a555 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi Adam,<div><br></div><div>Thanks for spotting this error= . Your analysis has helped me to fix it.=C2=A0</div><div>I have uploaded th= e change to the software repository, but it will take</div><div>some time t= o release a new version.</div><div><br></div><div>Regards,</div><div>Antoni= o Ceballos</div><div><br></div></div><div class=3D"gmail_extra"><br><div cl= ass=3D"gmail_quote">On Sun, Oct 18, 2015 at 1:05 PM, Adam Sampson <span dir= =3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]= rg</a>></span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"marg= in:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br> <br> In gnuchess 6.2.2, the -a command-line option doesn't work properly: it= <br> ought to compile the book and then quit, but it leaves the user sitting<br> at the gnuchess prompt instead of quitting.<br> <br> From a quick look at the code, this seems to be because the loop at the<br> bottom of main() runs until (flags & QUIT), but the only thing that set= s<br> QUIT is ForwardUserInputToEngine, which hasn't been used by the -a code= .<br> <br> Thanks,<br> <span class=3D"HOEnZb"><font color=3D"#888888"><br> --<br> Adam Sampson <<a href=3D"mailto:[email protected]">[email protected]</a>>=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0<<a href=3D"http://offog.org/" rel=3D"noreferrer" target=3D= "_blank">http://offog.org/</a>><br> <br> _______________________________________________<br> Bug-gnu-chess mailing list<br> <a href=3D"mailto:[email protected]">[email protected]</a><br> <a href=3D"https://lists.gnu.org/mailman/listinfo/bug-gnu-chess" rel=3D"nor= eferrer" target=3D"_blank">https://lists.gnu.org/mailman/listinfo/bug-gnu-c= hess</a><br> </font></span></blockquote></div><br></div> --f46d0444e9b5a4b9fe052264a555-- --===============0798438474246167383== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bug-gnu-chess mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-gnu-chess --===============0798438474246167383==--