From: H.G.Muller Date: Wed, 5 Mar 2014 21:42:18 +0000 (+0100) Subject: Fix InputCommand patch X-Git-Url: http://winboard.nl/cgi-bin?p=gnushogi.git;a=commitdiff_plain;h=1659d737d4bae32618488aa12eedba627ea13d60 Fix InputCommand patch There was a done=true in InputCommand that caused only a single command to be parsed when a command argument was given (and thus also when a backlogged command was processed). This led to the engine immediately starting thinking after interruption of ponder, in stead of waiting for the input move to be processed, with obviously fatal consequences. --- diff --git a/gnushogi/commondsp.c b/gnushogi/commondsp.c index b8e1ca8..4823f5f 100644 --- a/gnushogi/commondsp.c +++ b/gnushogi/commondsp.c @@ -1719,7 +1719,7 @@ InputCommand(char *command, int root) } else { strcpy(sx, command); backlog[0]= '\0'; /* make sure no backlog is left */ - done = true; + command = NULL; } /* extract first word */