gnugo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnugo-devel] Bug in GTP command "known_command"


From: Lutz Euler
Subject: [gnugo-devel] Bug in GTP command "known_command"
Date: Fri, 8 Nov 2002 21:58:43 +0100

Hi,

I am currently starting to use the gtp interface to gnugo
and noticed a bug:
The command
  known_command <COMMAND>
always returns "false", even if <COMMAND> is a known command.
I am using gnugo version 3.3.10.

The reason for the bug is that gtp_main_loop in
interface/gtp.c leaves the terminating newline in the
command buffer, but gtp_known_command in interface/play_gtp.c
compares the contents of the command buffer against strings
without terminating newlines.

Thanks for your good work on GNU Go!

Yours

Lutz Euler
________________________________________________________________
Viren? Wir wissen nicht was Ihr Arzt empfiehlt. Wir empfehlen den
Virencheck für Dateianhänge! http://freemail.web.de/features/?mc=021159






reply via email to

[Prev in Thread] Current Thread [Next in Thread]