v20i020: gnuchess - gnuchess version 3.1+, Patch01

Mike McGann mwm at hasler.ascom.ch
Wed May 29 12:35:04 AEST 1991


Submitted-by: Mike McGann <mwm at hasler.ascom.ch>
Posting-number: Volume 20, Issue 20
Archive-name: gnuchess/patch01
Patch-To: gnuchess: Volume 19, Issue 73-79

Received a patch for gnuchess3.1+/nondsp.c from C. Sears for xboard
compatibility. The Illegal move message must end with a line feed
or it won't get passed to xboard. The following patch fixes the
problem.

Mike McGann
mwm at hslrswi.hasler.ascom.ch
===================================================================
RCS file: RCS/nondsp.c,v
retrieving revision 1.14
diff -c -r1.14 nondsp.c
*** 1.14	1991/04/16 06:23:39
--- nondsp.c	1991/05/28 07:06:29
***************
*** 248,254 ****
      }
  #ifdef CHESSTOOL
    printz ("Illegal move (no matching move generated)");
!   printz ("%s ", s);
  #ifdef DEBUG
    if (true)
      {
--- 248,254 ----
      }
  #ifdef CHESSTOOL
    printz ("Illegal move (no matching move generated)");
!   printz ("%s\n", s);
  #ifdef DEBUG
    if (true)
      {

-- 
Kent Landfield                   INTERNET: kent at sparky.IMD.Sterling.COM
Sterling Software, IMD           UUCP:     uunet!sparky!kent
Phone:    (402) 291-8300         FAX:      (402) 291-4362
Please send comp.sources.misc-related mail to kent at uunet.uu.net.



More information about the Comp.sources.misc mailing list