bug-gnu-chess
[Top][All Lists]
Advanced

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

Some cosmetic patches


From: Lukas Geyer
Subject: Some cosmetic patches
Date: 22 Oct 2002 12:54:44 -0400
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp)

Simon Waters <address@hidden> writes:

> Okay I have just merged and committed changes to CVS head to fix
> buffer overflows in epd.c and pgn.c.
> 
> The changes work on my test data (so far), and (more?)
> gracefully handle previously identified bad cases - thanks
> Lukas.
> 
> The changes to pgn.c are largely temporary, as we have patches
> which rewrite large chunks of this lurking for the 5.06.
> 
> I still have some checks to do, and I want to check on some
> loose ends before we release this as 5.05, but this is pretty
> much as it should ship I think.

OK, before things get final, I will also test some more. (Just
compiling on Solaris.) Here is a cosmetic patch which fixes some
copyright notices, updates my email address, some documentation and
the build system. It does not really change any code. Note that you
have to regenerate all autogenerated files afterwards,
i.e. Makefile.in, config.h.in, configure etc. Easiest is maybe
autoreconf --force. (The style of the patch is the one generated by
cvs diff, this should not be a problem, I think.)

Lukas

P.S.: This one builds on solaris with gcc and cc, looks good so far.
P.P.S.: How about getting rid of the UNIVERSAL code with this release?


Index: AUTHORS
===================================================================
RCS file: /cvsroot/chess/chess/AUTHORS,v
retrieving revision 1.2
diff -u -p -r1.2 AUTHORS
--- AUTHORS     7 Feb 2002 02:37:30 -0000       1.2
+++ AUTHORS     22 Oct 2002 16:36:53 -0000
@@ -2,5 +2,5 @@ Chua Kong Sian 
 Stuart Cracraft <address@hidden>
        <address@hidden>
        <address@hidden>
-Lukas Geyer <address@hidden>
+Lukas Geyer <address@hidden>
 Simon Waters <address@hidden>
Index: INSTALL
===================================================================
RCS file: /cvsroot/chess/chess/INSTALL,v
retrieving revision 1.3
diff -u -p -r1.3 INSTALL
--- INSTALL     7 Feb 2002 01:46:26 -0000       1.3
+++ INSTALL     22 Oct 2002 16:36:53 -0000
@@ -45,21 +45,20 @@ than /usr/local, replace the first line 
        ./configure --prefix=/my/favourite/dir 
 
 You can build an opening book which may enhance the value
-of gnuchess quite a lot. In order to do so, get the file
-book.pgn (see book/README for instructions on how to get it)
-and type the following.
+of gnuchess quite a lot. In order to do so, get the opening
+book from ftp://ftp.gnu.org/pub/gnu/chess/book_1.00.pgn.gz.
+Unpack it with gunzip, run gnuchess and type the following.
 
-       ln -s ../book/book.pgn
-       ./gnuchess
        book add book.pgn
        quit
 
-This will take a long, long time even on the fastest
-machines. The book is quite large (180,000 master games).
-If you don't want to wait (overnight), do this instead:
+This will take some time, even on fast machines. 
+If you are impatient, do this instead:
+
+       head -30000 book.pgn > smallbook.pgn
+
+Then run gnuchess and type
 
-       head -30000 ../book/book.pgn > smallbook.pgn
-       ./gnuchess
        book add smallbook.pgn
        quit
 
@@ -73,7 +72,4 @@ March, 2001
 
 Modifications:
 
-Lukas Geyer <address@hidden>
-
-[ Update: The book building now takes 245 seconds on
-  an Athlon 1GHz computer with a 100MB book.pgn ]
+Lukas Geyer <address@hidden>
Index: NEWS
===================================================================
RCS file: /cvsroot/chess/chess/NEWS,v
retrieving revision 1.1
diff -u -p -r1.1 NEWS
--- NEWS        7 Feb 2002 01:46:26 -0000       1.1
+++ NEWS        22 Oct 2002 16:36:55 -0000
@@ -1,20 +1,25 @@
-* Changed format of book.dat again, now takes less disk space. 
-  However, one bug used to cause the book building algorithm to
-  neglect a lot of positions which it was supposed to look at, so this
-  leads to more book entries with the same PGN files now.
-
-* Added some performance tweaks, should really run faster now.
-
-  06 Feb 2002, Lukas Geyer <address@hidden>
-
-* We now have a portable binary format for the opening book.
-  Furthermore, the hash values should now be the same on 64bit
-  machines. (Was different before.)
-
-  02 Feb 2002, Lukas Geyer <address@hidden>
-
-* Converted build system to automake, cleaned up code, in particular
-  counter a nasty gcc optimization bug on PPC architecture.
-
-  30 Jan 2002, Lukas Geyer <address@hidden>
+New in gnuchess 5.05:
 
+- Security fixes: Fixed potential buffer overflows in pgn.c and epd.c.
+- The opening book book.dat can now be in the working directory,
+  /usr/share/games/gnuchess/ or /usr/lib/games/gnuchess/. The first
+  of these directories which contains a valid book.dat is chosen.
+- Changes for easing compilation with MSVC
+
+[ Could we rewrite history for the older versions, too? I like to
+  have NEWS give a quick overview of what has changed between versions,
+  only user-visible stuff. That is the recommended purpose of NEWS. 
+  However, the following is not yet accurate and complete. ]
+
+New in gnuchess 5.04:
+- Bug fixes (as always)
+- ???
+
+New in gnuchess 5.03:
+- Bug fixes (The infamous "illegal move" bug should be dead by now.)
+- Architecture independent binary book. Yes, you may now move your
+  binary book around between little and big endian, 32 and 64 bit
+  machines and it should not break. 
+- Build system is now automake/autoconf, should ease porting gnuchess
+  to your favorite strange architecture. (Hell, what about gnuchess on
+  cellphones...?)
Index: TODO
===================================================================
RCS file: /cvsroot/chess/chess/TODO,v
retrieving revision 1.3
diff -u -p -r1.3 TODO
--- TODO        7 Sep 2002 18:00:36 -0000       1.3
+++ TODO        22 Oct 2002 16:36:55 -0000
@@ -4,10 +4,12 @@ TODO for gnuchess: 
 marked IMPORTANT, so that you can grep for them if this
 gets too large... I like the TODO of xboard...)
 
-- Add Analyze mode
+The items marked with '-' are honest TODOs, the ones marked with '+' are
+already prototyped (or at least worked on).
+
++ Add Analyze mode
 
 - Make the location of opening books runtime-configurable
-  (IMPORTANT)
 
 - Benchmark alternatives for the ubiquitous method used to
   traverse bits, a la (currently)
@@ -18,11 +20,7 @@ gets too large... I like the TODO of xbo
                do_something();
        }
 
-  I do not believe that the current technique is fastest.
-
-- Debianize it.
-
-- Add pondering (may be difficult, use pthreads or some low-level
++ Add pondering (may be difficult, use pthreads or some low-level
   select() stuff?). That would be very close to implementing
   analysis mode.
 
@@ -44,7 +42,7 @@ gets too large... I like the TODO of xbo
   also moving the list of chess players allowed in the book to some
   configuration file.
 
-- Improve PGN parser to accept "Import style PGN"? Would reduce
++ Improve PGN parser to accept "Import style PGN"? Would reduce
   performance slightly, but one could grab PGN files from all over the
   net...
 
Index: configure.ac
===================================================================
RCS file: /cvsroot/chess/chess/configure.ac,v
retrieving revision 1.5
diff -u -p -r1.5 configure.ac
--- configure.ac        3 Aug 2002 10:57:26 -0000       1.5
+++ configure.ac        22 Oct 2002 16:37:30 -0000
@@ -10,32 +10,43 @@ AC_PROG_AWK
 AC_PROG_LN_S
 AC_STRUCT_TM
 
-dnl Checks for libraries.
-dnl AC_CHECK_LIB(m, sqrt)
-AC_CHECK_LIB(ncurses, tputs)
-AC_CHECK_LIB(readline, readline)
+dnl --with and --enable things
+AC_ARG_WITH(readline, 
+       AC_HELP_STRING([--with-readline],
+               [use readline library if available (default is YES)]),
+       ac_cv_use_readline=$withval,
+       ac_cv_use_readline=yes)
+
+dnl Check for readline library _and_ headers
+if test x"$ac_cv_use_readline" = "xyes"; then
+       AC_CHECK_LIB(ncurses, tputs)
+       AC_CHECK_LIB(readline, readline)
+       AC_CHECK_HEADERS(readline/readline.h readline/history.h)
+fi
 
 dnl Checks for header files.
 AC_HEADER_STDC
 
-AC_CHECK_HEADERS(fcntl.h time.h sys/file.h sys/ioctl.h sys/time.h unistd.h \
- errno.h readline/readline.h readline/history.h)
+dnl Either we should make these checks fail with an
+dnl AC_MSG_ERROR or we should treat missing headers
+dnl with #ifdef somehow. (As it stands, it still gives
+dnl valuable debugging info for bug reports, but not more.)
+AC_CHECK_HEADERS(time.h sys/time.h unistd.h errno.h)
 
 dnl Checks for typedefs, structures, and compiler characteristics.
 AC_C_CONST
 AC_C_INLINE
 AC_TYPE_SIZE_T
 AC_HEADER_TIME
-AC_CHECK_SIZEOF(long)
 AC_NEED_STDINT_H(src/GCint.h)
-dnl AC_C_BIGENDIAN
 
 dnl Checks for library functions.
 AC_TYPE_SIGNAL
 AC_FUNC_MALLOC
 AC_FUNC_MEMCMP
-AC_CHECK_FUNCS(alarm gettimeofday strchr strcspn \
-  strstr strtol strtoul strerror memset)
+
+dnl See above, how do we treat failure here?
+AC_CHECK_FUNCS(gettimeofday strchr strcspn strstr strerror memset alarm)
 
 AC_CONFIG_FILES(Makefile src/Makefile)
 AC_OUTPUT
Index: src/Makefile.am
===================================================================
RCS file: /cvsroot/chess/chess/src/Makefile.am,v
retrieving revision 1.1
diff -u -p -r1.1 Makefile.am
--- src/Makefile.am     7 Feb 2002 01:46:26 -0000       1.1
+++ src/Makefile.am     22 Oct 2002 16:37:30 -0000
@@ -7,4 +7,4 @@ gnuchess_SOURCES = atak.c book.c cmd.c e
  quiesce.c random.c repeat.c search.c solve.c sort.c swap.c test.c \
  ttable.c util.c version.c common.h book.h eval.h inlines.h version.h
 
-DISTCLEANFILES = *~
+DISTCLEANFILES = *~ GCint.h
Index: src/atak.c
===================================================================
RCS file: /cvsroot/chess/chess/src/atak.c,v
retrieving revision 1.9
diff -u -p -r1.9 atak.c
--- src/atak.c  22 Oct 2002 12:39:36 -0000      1.9
+++ src/atak.c  22 Oct 2002 16:37:33 -0000
@@ -1,5 +1,5 @@
 /* GNU Chess 5.0 - atak.c - attack code
-   Copyright (c) 1999 Free Software Foundation, Inc.
+   Copyright (c) 1999-2002 Free Software Foundation, Inc.
 
    GNU Chess is based on the two research programs 
    Cobalt by Chua Kong-Sian and Gazebo by Stuart Cracraft.
@@ -21,7 +21,6 @@
 
    Contact Info: 
      address@hidden
-     address@hidden, address@hidden, address@hidden
 */
 
 #include <stdio.h>
Index: src/book.c
===================================================================
RCS file: /cvsroot/chess/chess/src/book.c,v
retrieving revision 1.18
diff -u -p -r1.18 book.c
--- src/book.c  22 Oct 2002 13:59:07 -0000      1.18
+++ src/book.c  22 Oct 2002 16:37:36 -0000
@@ -1,5 +1,5 @@
 /* GNU Chess 5.0 - book.c - book code
-   Copyright (c) 1999 Free Software Foundation, Inc.
+   Copyright (c) 1999-2002 Free Software Foundation, Inc.
 
    GNU Chess is based on the two research programs 
    Cobalt by Chua Kong-Sian and Gazebo by Stuart Cracraft.
@@ -21,7 +21,6 @@
 
    Contact Info: 
      address@hidden
-     address@hidden, address@hidden, address@hidden
 */
 
 #include <stdio.h>
@@ -494,7 +493,7 @@ int BookQuery(int BKquery)
     return BOOK_ENOBOOK;
   }
   if (!bookloaded) {
-    char * const *booktry;
+    const char * const *booktry;
 
     bookloaded = 1;
     for (booktry = bookbin; *booktry ; booktry++) {
Index: src/book.h
===================================================================
RCS file: /cvsroot/chess/chess/src/book.h,v
retrieving revision 1.3
diff -u -p -r1.3 book.h
--- src/book.h  2 Aug 2002 10:39:06 -0000       1.3
+++ src/book.h  22 Oct 2002 16:37:37 -0000
@@ -1,5 +1,5 @@
 /* GNU Chess 5.0 - book.h - book symbolic definitions
-   Copyright (c) 1999 Free Software Foundation, Inc.
+   Copyright (c) 1999-2002 Free Software Foundation, Inc.
 
    GNU Chess is based on the two research programs 
    Cobalt by Chua Kong-Sian and Gazebo by Stuart Cracraft.
@@ -21,7 +21,6 @@
 
    Contact Info: 
      address@hidden
-     address@hidden, address@hidden, address@hidden
 */
 #define BOOKSRC "book.src"
 
@@ -29,8 +28,9 @@
  * BookQuery() tries the following filenames in order to find
  * a valid opening book. The array must be NULL-terminated.
  */
-static char * const bookbin[] = {
+static const char * bookbin[] = {
    "book.dat",
+   "/usr/share/games/gnuchess/book.dat",
    "/usr/lib/games/gnuchess/book.dat",
    NULL
 };
Index: src/cmd.c
===================================================================
RCS file: /cvsroot/chess/chess/src/cmd.c,v
retrieving revision 1.35
diff -u -p -r1.35 cmd.c
--- src/cmd.c   22 Oct 2002 13:44:15 -0000      1.35
+++ src/cmd.c   22 Oct 2002 16:37:41 -0000
@@ -1,5 +1,5 @@
 /* GNU Chess 5.0 - cmd.c - command parser
-   Copyright (c) 1999 Free Software Foundation, Inc.
+   Copyright (c) 1999-2002 Free Software Foundation, Inc.
 
    GNU Chess is based on the two research programs 
    Cobalt by Chua Kong-Sian and Gazebo by Stuart Cracraft.
@@ -21,7 +21,6 @@
 
    Contact Info: 
      address@hidden
-     address@hidden, address@hidden, address@hidden
 */
 
 #include <stdio.h>
@@ -85,7 +84,7 @@ void InputCmd ()
  *
  *************************************************************************/
 {
-   char *color[2] = { "White", "Black" };
+   const char *color[2] = { "White", "Black" };
    int suffix;
    int i;
    leaf *ptr; 
Index: src/common.h
===================================================================
RCS file: /cvsroot/chess/chess/src/common.h,v
retrieving revision 1.21
diff -u -p -r1.21 common.h
--- src/common.h        21 Oct 2002 22:19:15 -0000      1.21
+++ src/common.h        22 Oct 2002 16:37:44 -0000
@@ -1,5 +1,5 @@
 /* GNU Chess 5.0 - common.h - common symbolic definitions
-   Copyright (c) 1999 Free Software Foundation, Inc.
+   Copyright (c) 1999-2002 Free Software Foundation, Inc.
 
    GNU Chess is based on the two research programs 
    Cobalt by Chua Kong-Sian and Gazebo by Stuart Cracraft.
@@ -21,7 +21,6 @@
 
    Contact Info: 
      address@hidden
-     address@hidden, address@hidden, address@hidden
 */
 
 #ifndef COMMON_H
Index: src/epd.c
===================================================================
RCS file: /cvsroot/chess/chess/src/epd.c,v
retrieving revision 1.7
diff -u -p -r1.7 epd.c
--- src/epd.c   22 Oct 2002 13:29:45 -0000      1.7
+++ src/epd.c   22 Oct 2002 16:37:50 -0000
@@ -1,5 +1,5 @@
 /* GNU Chess 5.0 - epd.c - EPD position definition code
-   Copyright (c) 1999 Free Software Foundation, Inc.
+   Copyright (c) 1999-2002 Free Software Foundation, Inc.
 
    GNU Chess is based on the two research programs 
    Cobalt by Chua Kong-Sian and Gazebo by Stuart Cracraft.
@@ -21,7 +21,6 @@
 
    Contact Info: 
      address@hidden
-     address@hidden, address@hidden, address@hidden
 */
 /*
  *
Index: src/eval.c
===================================================================
RCS file: /cvsroot/chess/chess/src/eval.c,v
retrieving revision 1.22
diff -u -p -r1.22 eval.c
--- src/eval.c  4 Aug 2002 19:26:52 -0000       1.22
+++ src/eval.c  22 Oct 2002 16:37:57 -0000
@@ -1,5 +1,5 @@
 /* GNU Chess 5.0 - eval.c - evaluation code
-   Copyright (c) 1999 Free Software Foundation, Inc.
+   Copyright (c) 1999-2002 Free Software Foundation, Inc.
 
    GNU Chess is based on the two research programs 
    Cobalt by Chua Kong-Sian and Gazebo by Stuart Cracraft.
@@ -21,7 +21,6 @@
 
    Contact Info: 
      address@hidden
-     address@hidden, address@hidden, address@hidden
 */
 
 /****************************************************************************
Index: src/eval.h
===================================================================
RCS file: /cvsroot/chess/chess/src/eval.h,v
retrieving revision 1.5
diff -u -p -r1.5 eval.h
--- src/eval.h  2 May 2002 14:15:53 -0000       1.5
+++ src/eval.h  22 Oct 2002 16:37:58 -0000
@@ -1,5 +1,5 @@
 /* GNU Chess 5.0 - eval.h - evaluation symbolic definitions
-   Copyright (c) 1999 Free Software Foundation, Inc.
+   Copyright (c) 1999-2002 Free Software Foundation, Inc.
 
    GNU Chess is based on the two research programs 
    Cobalt by Chua Kong-Sian and Gazebo by Stuart Cracraft.
@@ -21,7 +21,6 @@
 
    Contact Info: 
      address@hidden
-     address@hidden, address@hidden, address@hidden
 */
 
 #ifndef EVAL_H
Index: src/genmove.c
===================================================================
RCS file: /cvsroot/chess/chess/src/genmove.c,v
retrieving revision 1.6
diff -u -p -r1.6 genmove.c
--- src/genmove.c       4 Aug 2002 16:33:26 -0000       1.6
+++ src/genmove.c       22 Oct 2002 16:38:01 -0000
@@ -1,5 +1,5 @@
 /* GNU Chess 5.0 - genmove.c - move generator code
-   Copyright (c) 1999 Free Software Foundation, Inc.
+   Copyright (c) 1999-2002 Free Software Foundation, Inc.
 
    GNU Chess is based on the two research programs 
    Cobalt by Chua Kong-Sian and Gazebo by Stuart Cracraft.
@@ -21,7 +21,6 @@
 
    Contact Info: 
      address@hidden
-     address@hidden, address@hidden, address@hidden
 */
 
 #include <stdio.h>
Index: src/hash.c
===================================================================
RCS file: /cvsroot/chess/chess/src/hash.c,v
retrieving revision 1.2
diff -u -p -r1.2 hash.c
--- src/hash.c  4 Aug 2002 16:33:26 -0000       1.2
+++ src/hash.c  22 Oct 2002 16:38:02 -0000
@@ -1,5 +1,5 @@
 /* GNU Chess 5.0 - hash.c - hash function code
-   Copyright (c) 1999 Free Software Foundation, Inc.
+   Copyright (c) 1999-2002 Free Software Foundation, Inc.
 
    GNU Chess is based on the two research programs 
    Cobalt by Chua Kong-Sian and Gazebo by Stuart Cracraft.
@@ -21,7 +21,6 @@
 
    Contact Info: 
      address@hidden
-     address@hidden, address@hidden, address@hidden
 */
 /*
  *
Index: src/hung.c
===================================================================
RCS file: /cvsroot/chess/chess/src/hung.c,v
retrieving revision 1.3
diff -u -p -r1.3 hung.c
--- src/hung.c  4 Aug 2002 16:33:26 -0000       1.3
+++ src/hung.c  22 Oct 2002 16:38:02 -0000
@@ -1,5 +1,5 @@
 /* GNU Chess 5.0 - hung.c - hung piece evaluation code
-   Copyright (c) 1999 Free Software Foundation, Inc.
+   Copyright (c) 1999-2002 Free Software Foundation, Inc.
 
    GNU Chess is based on the two research programs 
    Cobalt by Chua Kong-Sian and Gazebo by Stuart Cracraft.
@@ -21,7 +21,6 @@
 
    Contact Info: 
      address@hidden
-     address@hidden, address@hidden, address@hidden
 */
 /*
  *  Hung piece evaluation.
Index: src/init.c
===================================================================
RCS file: /cvsroot/chess/chess/src/init.c,v
retrieving revision 1.15
diff -u -p -r1.15 init.c
--- src/init.c  22 Oct 2002 13:35:50 -0000      1.15
+++ src/init.c  22 Oct 2002 16:38:06 -0000
@@ -1,5 +1,5 @@
 /* GNU Chess 5.0 - init.c - initialization of variables code
-   Copyright (c) 1999 Free Software Foundation, Inc.
+   Copyright (c) 1999-2002 Free Software Foundation, Inc.
 
    GNU Chess is based on the two research programs 
    Cobalt by Chua Kong-Sian and Gazebo by Stuart Cracraft.
@@ -21,7 +21,6 @@
 
    Contact Info: 
      address@hidden
-     address@hidden, address@hidden, address@hidden
 */
 /*
  *
Index: src/inlines.h
===================================================================
RCS file: /cvsroot/chess/chess/src/inlines.h,v
retrieving revision 1.4
diff -u -p -r1.4 inlines.h
--- src/inlines.h       4 Aug 2002 16:33:26 -0000       1.4
+++ src/inlines.h       22 Oct 2002 16:38:06 -0000
@@ -4,7 +4,7 @@
  * defined.
  */
 /* GNU Chess 5.0 - inlines.h - static inline functions
-   Copyright (c) 1999 Free Software Foundation, Inc.
+   Copyright (c) 2002 Free Software Foundation, Inc.
 
    GNU Chess is based on the two research programs 
    Cobalt by Chua Kong-Sian and Gazebo by Stuart Cracraft.
@@ -26,7 +26,6 @@
 
    Contact Info: 
      address@hidden
-     address@hidden, address@hidden, address@hidden
 */
 
 #ifndef INLINES_H
Index: src/iterate.c
===================================================================
RCS file: /cvsroot/chess/chess/src/iterate.c,v
retrieving revision 1.18
diff -u -p -r1.18 iterate.c
--- src/iterate.c       22 Oct 2002 13:41:50 -0000      1.18
+++ src/iterate.c       22 Oct 2002 16:38:08 -0000
@@ -1,5 +1,5 @@
 /* GNU Chess 5.0 - iterate.c - iterative deepening code
-   Copyright (c) 1999 Free Software Foundation, Inc.
+   Copyright (c) 1999-2002 Free Software Foundation, Inc.
 
    GNU Chess is based on the two research programs 
    Cobalt by Chua Kong-Sian and Gazebo by Stuart Cracraft.
@@ -21,7 +21,6 @@
 
    Contact Info: 
      address@hidden
-     address@hidden, address@hidden, address@hidden
 */
 #include <stdio.h>
 #include <stdlib.h>
@@ -104,7 +103,7 @@ void Iterate (void)
 
       if (TCinc != 0)
         if (SearchTime < TCinc) {
-         char *color[2] = { "White", "Black" };
+         const char *color[2] = { "White", "Black" };
           printf("TimeLimit[%s] = %6.2f\n",color[side],TimeLimit[side]);
           if (TimeLimit[side] > 30) {   /* Only if > 15 seconds left */
             SearchTime = TCinc;
Index: src/main.c
===================================================================
RCS file: /cvsroot/chess/chess/src/main.c,v
retrieving revision 1.15
diff -u -p -r1.15 main.c
--- src/main.c  4 Aug 2002 16:33:26 -0000       1.15
+++ src/main.c  22 Oct 2002 16:38:10 -0000
@@ -1,5 +1,5 @@
 /* GNU Chess 5.0 - main.c - entry point
-   Copyright (c) 1999 Free Software Foundation, Inc.
+   Copyright (c) 1999-2002 Free Software Foundation, Inc.
 
    GNU Chess is based on the two research programs 
    Cobalt by Chua Kong-Sian and Gazebo by Stuart Cracraft.
@@ -21,7 +21,6 @@
 
    Contact Info: 
      address@hidden
-     address@hidden, address@hidden, address@hidden
 */
 /*
  *
@@ -31,7 +30,6 @@
 #include <string.h>
 #include <stdlib.h>
 #include "common.h"
-#include "book.h"
 #include <time.h>
 #ifdef UNIVERSAL
 #include "univ.h"
Index: src/move.c
===================================================================
RCS file: /cvsroot/chess/chess/src/move.c,v
retrieving revision 1.11
diff -u -p -r1.11 move.c
--- src/move.c  4 Aug 2002 16:33:26 -0000       1.11
+++ src/move.c  22 Oct 2002 16:38:13 -0000
@@ -1,5 +1,5 @@
 /* GNU Chess 5.0 - move.c - make and unmake moves code
-   Copyright (c) 1999 Free Software Foundation, Inc.
+   Copyright (c) 1999-2002 Free Software Foundation, Inc.
 
    GNU Chess is based on the two research programs 
    Cobalt by Chua Kong-Sian and Gazebo by Stuart Cracraft.
@@ -21,7 +21,6 @@
 
    Contact Info: 
      address@hidden
-     address@hidden, address@hidden, address@hidden
 */
 /*
  *
Index: src/null.c
===================================================================
RCS file: /cvsroot/chess/chess/src/null.c,v
retrieving revision 1.3
diff -u -p -r1.3 null.c
--- src/null.c  4 Aug 2002 16:33:26 -0000       1.3
+++ src/null.c  22 Oct 2002 16:38:14 -0000
@@ -1,5 +1,5 @@
 /* GNU Chess 5.0 - null.c - null move code
-   Copyright (c) 1999 Free Software Foundation, Inc.
+   Copyright (c) 1999-2002 Free Software Foundation, Inc.
 
    GNU Chess is based on the two research programs 
    Cobalt by Chua Kong-Sian and Gazebo by Stuart Cracraft.
@@ -21,7 +21,6 @@
 
    Contact Info: 
      address@hidden
-     address@hidden, address@hidden, address@hidden
 */
 /*
  *
Index: src/output.c
===================================================================
RCS file: /cvsroot/chess/chess/src/output.c,v
retrieving revision 1.5
diff -u -p -r1.5 output.c
--- src/output.c        4 Aug 2002 16:33:26 -0000       1.5
+++ src/output.c        22 Oct 2002 16:38:15 -0000
@@ -1,5 +1,5 @@
 /* GNU Chess 5.0 - output.c - output code
-   Copyright (c) 1999 Free Software Foundation, Inc.
+   Copyright (c) 1999-2002 Free Software Foundation, Inc.
 
    GNU Chess is based on the two research programs 
    Cobalt by Chua Kong-Sian and Gazebo by Stuart Cracraft.
@@ -21,7 +21,6 @@
 
    Contact Info: 
      address@hidden
-     address@hidden, address@hidden, address@hidden
 */
 /*
  *
Index: src/pgn.c
===================================================================
RCS file: /cvsroot/chess/chess/src/pgn.c,v
retrieving revision 1.12
diff -u -p -r1.12 pgn.c
--- src/pgn.c   21 Oct 2002 22:19:15 -0000      1.12
+++ src/pgn.c   22 Oct 2002 16:38:17 -0000
@@ -1,5 +1,5 @@
 /* GNU Chess 5.0 - pgn.c - pgn game format code
-   Copyright (c) 1999 Free Software Foundation, Inc.
+   Copyright (c) 1999-2002 Free Software Foundation, Inc.
 
    GNU Chess is based on the two research programs 
    Cobalt by Chua Kong-Sian and Gazebo by Stuart Cracraft.
@@ -21,7 +21,6 @@
 
    Contact Info: 
      address@hidden
-     address@hidden, address@hidden, address@hidden
 */
 
 #include <stdio.h>
Index: src/players.c
===================================================================
RCS file: /cvsroot/chess/chess/src/players.c,v
retrieving revision 1.7
diff -u -p -r1.7 players.c
--- src/players.c       1 Aug 2002 13:46:07 -0000       1.7
+++ src/players.c       22 Oct 2002 16:38:18 -0000
@@ -1,6 +1,6 @@
 
 /* GNU Chess 5.0 - player.c - database on players
-   Copyright (c) 1999 Free Software Foundation, Inc.
+   Copyright (c) 1999-2002 Free Software Foundation, Inc.
 
    GNU Chess is based on the two research programs 
    Cobalt by Chua Kong-Sian and Gazebo by Stuart Cracraft.
@@ -22,7 +22,6 @@
 
    Contact Info: 
      address@hidden
-     address@hidden, address@hidden, address@hidden
 */
 #include <stdio.h>
 #include <string.h>
Index: src/quiesce.c
===================================================================
RCS file: /cvsroot/chess/chess/src/quiesce.c,v
retrieving revision 1.4
diff -u -p -r1.4 quiesce.c
--- src/quiesce.c       4 Aug 2002 16:33:26 -0000       1.4
+++ src/quiesce.c       22 Oct 2002 16:38:19 -0000
@@ -1,5 +1,5 @@
 /* GNU Chess 5.0 - quiesce.c - quiescence search code
-   Copyright (c) 1999 Free Software Foundation, Inc.
+   Copyright (c) 1999-2002 Free Software Foundation, Inc.
 
    GNU Chess is based on the two research programs 
    Cobalt by Chua Kong-Sian and Gazebo by Stuart Cracraft.
@@ -21,7 +21,6 @@
 
    Contact Info: 
      address@hidden
-     address@hidden, address@hidden, address@hidden
 */
 /*
  *
Index: src/random.c
===================================================================
RCS file: /cvsroot/chess/chess/src/random.c,v
retrieving revision 1.3
diff -u -p -r1.3 random.c
--- src/random.c        7 Feb 2002 01:46:26 -0000       1.3
+++ src/random.c        22 Oct 2002 16:38:19 -0000
@@ -1,5 +1,5 @@
 /* GNU Chess 5.0 - random.c - random number code
-   Copyright (c) 1999 Free Software Foundation, Inc.
+   Copyright (c) 1999-2002 Free Software Foundation, Inc.
 
    GNU Chess is based on the two research programs 
    Cobalt by Chua Kong-Sian and Gazebo by Stuart Cracraft.
@@ -21,7 +21,6 @@
 
    Contact Info: 
      address@hidden
-     address@hidden, address@hidden, address@hidden
 */
 /*
  *
Index: src/repeat.c
===================================================================
RCS file: /cvsroot/chess/chess/src/repeat.c,v
retrieving revision 1.2
diff -u -p -r1.2 repeat.c
--- src/repeat.c        4 Aug 2002 16:33:26 -0000       1.2
+++ src/repeat.c        22 Oct 2002 16:38:20 -0000
@@ -1,5 +1,5 @@
 /* GNU Chess 5.0 - repeat.c - repeat position detector code
-   Copyright (c) 1999 Free Software Foundation, Inc.
+   Copyright (c) 1999-2002 Free Software Foundation, Inc.
 
    GNU Chess is based on the two research programs 
    Cobalt by Chua Kong-Sian and Gazebo by Stuart Cracraft.
@@ -21,7 +21,6 @@
 
    Contact Info: 
      address@hidden
-     address@hidden, address@hidden, address@hidden
 */
 /*
  *
Index: src/search.c
===================================================================
RCS file: /cvsroot/chess/chess/src/search.c,v
retrieving revision 1.12
diff -u -p -r1.12 search.c
--- src/search.c        4 Aug 2002 16:33:26 -0000       1.12
+++ src/search.c        22 Oct 2002 16:38:24 -0000
@@ -1,5 +1,5 @@
 /* GNU Chess 5.0 - search.c - tree-search code
-   Copyright (c) 1999 Free Software Foundation, Inc.
+   Copyright (c) 1999-2002 Free Software Foundation, Inc.
 
    GNU Chess is based on the two research programs 
    Cobalt by Chua Kong-Sian and Gazebo by Stuart Cracraft.
@@ -21,7 +21,6 @@
 
    Contact Info: 
      address@hidden
-     address@hidden, address@hidden, address@hidden
 */
 /*
  *
Index: src/solve.c
===================================================================
RCS file: /cvsroot/chess/chess/src/solve.c,v
retrieving revision 1.2
diff -u -p -r1.2 solve.c
--- src/solve.c 4 Aug 2002 16:33:26 -0000       1.2
+++ src/solve.c 22 Oct 2002 16:38:24 -0000
@@ -1,5 +1,5 @@
 /* GNU Chess 5.0 - solve.c - position solving code
-   Copyright (c) 1999 Free Software Foundation, Inc.
+   Copyright (c) 1999-2002 Free Software Foundation, Inc.
 
    GNU Chess is based on the two research programs 
    Cobalt by Chua Kong-Sian and Gazebo by Stuart Cracraft.
@@ -21,7 +21,6 @@
 
    Contact Info: 
      address@hidden
-     address@hidden, address@hidden, address@hidden
 */
 /* 
  *
Index: src/sort.c
===================================================================
RCS file: /cvsroot/chess/chess/src/sort.c,v
retrieving revision 1.11
diff -u -p -r1.11 sort.c
--- src/sort.c  4 Aug 2002 17:32:22 -0000       1.11
+++ src/sort.c  22 Oct 2002 16:38:26 -0000
@@ -1,5 +1,5 @@
 /* GNU Chess 5.0 - sort.c - move sorting code
-   Copyright (c) 1999 Free Software Foundation, Inc.
+   Copyright (c) 1999-2002 Free Software Foundation, Inc.
 
    GNU Chess is based on the two research programs 
    Cobalt by Chua Kong-Sian and Gazebo by Stuart Cracraft.
@@ -21,7 +21,6 @@
 
    Contact Info: 
      address@hidden
-     address@hidden, address@hidden, address@hidden
 */
 /*
  *
Index: src/swap.c
===================================================================
RCS file: /cvsroot/chess/chess/src/swap.c,v
retrieving revision 1.3
diff -u -p -r1.3 swap.c
--- src/swap.c  4 Aug 2002 16:33:26 -0000       1.3
+++ src/swap.c  22 Oct 2002 16:38:27 -0000
@@ -1,5 +1,5 @@
 /* GNU Chess 5.0 - swap.c - static exchange evaluator code
-   Copyright (c) 1999 Free Software Foundation, Inc.
+   Copyright (c) 1999-2002 Free Software Foundation, Inc.
 
    GNU Chess is based on the two research programs 
    Cobalt by Chua Kong-Sian and Gazebo by Stuart Cracraft.
@@ -21,7 +21,6 @@
 
    Contact Info: 
      address@hidden
-     address@hidden, address@hidden, address@hidden
 */
 
 
Index: src/test.c
===================================================================
RCS file: /cvsroot/chess/chess/src/test.c,v
retrieving revision 1.6
diff -u -p -r1.6 test.c
--- src/test.c  4 Aug 2002 16:33:26 -0000       1.6
+++ src/test.c  22 Oct 2002 16:38:28 -0000
@@ -1,5 +1,5 @@
 /* GNU Chess 5.0 - test.c - testing code
-   Copyright (c) 1999 Free Software Foundation, Inc.
+   Copyright (c) 1999-2002 Free Software Foundation, Inc.
 
    GNU Chess is based on the two research programs 
    Cobalt by Chua Kong-Sian and Gazebo by Stuart Cracraft.
@@ -21,7 +21,6 @@
 
    Contact Info: 
      address@hidden
-     address@hidden, address@hidden, address@hidden
 */
 
 #include <stdio.h>
Index: src/ttable.c
===================================================================
RCS file: /cvsroot/chess/chess/src/ttable.c,v
retrieving revision 1.4
diff -u -p -r1.4 ttable.c
--- src/ttable.c        4 Aug 2002 16:33:26 -0000       1.4
+++ src/ttable.c        22 Oct 2002 16:38:29 -0000
@@ -1,5 +1,5 @@
 /* GNU Chess 5.0 - ttable.c - transposition table code
-   Copyright (c) 1999 Free Software Foundation, Inc.
+   Copyright (c) 1999-2002 Free Software Foundation, Inc.
 
    GNU Chess is based on the two research programs 
    Cobalt by Chua Kong-Sian and Gazebo by Stuart Cracraft.
@@ -21,7 +21,6 @@
 
    Contact Info: 
      address@hidden
-     address@hidden, address@hidden, address@hidden
 */
 /*
  *
Index: src/util.c
===================================================================
RCS file: /cvsroot/chess/chess/src/util.c,v
retrieving revision 1.7
diff -u -p -r1.7 util.c
--- src/util.c  4 Aug 2002 16:33:26 -0000       1.7
+++ src/util.c  22 Oct 2002 16:38:30 -0000
@@ -1,5 +1,5 @@
 /* GNU Chess 5.0 - util.c - utility routine code
-   Copyright (c) 1999 Free Software Foundation, Inc.
+   Copyright (c) 1999-2002 Free Software Foundation, Inc.
 
    GNU Chess is based on the two research programs 
    Cobalt by Chua Kong-Sian and Gazebo by Stuart Cracraft.
@@ -21,7 +21,6 @@
 
    Contact Info: 
      address@hidden
-     address@hidden, address@hidden, address@hidden
 */
 /*
  * Endianness is now detected by configure. Actually, if we really
Index: src/version.c
===================================================================
RCS file: /cvsroot/chess/chess/src/version.c,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 version.c
--- src/version.c       8 Oct 2001 08:48:53 -0000       1.1.1.1
+++ src/version.c       22 Oct 2002 16:38:31 -0000
@@ -1,5 +1,5 @@
 /* GNU Chess 5.0 - version.c - version number code.
-   Copyright (c) 1999 Free Software Foundation, Inc.
+   Copyright (c) 1999-2002 Free Software Foundation, Inc.
 
    GNU Chess is based on the two research programs 
    Cobalt by Chua Kong-Sian and Gazebo by Stuart Cracraft.
@@ -21,7 +21,6 @@
 
    Contact Info: 
      address@hidden
-     address@hidden, address@hidden, address@hidden
 */
 #include <stdio.h>
 #include "common.h"
Index: src/version.h
===================================================================
RCS file: /cvsroot/chess/chess/src/version.h,v
retrieving revision 1.3
diff -u -p -r1.3 version.h
--- src/version.h       7 Feb 2002 01:46:26 -0000       1.3
+++ src/version.h       22 Oct 2002 16:38:31 -0000
@@ -1,5 +1,5 @@
 /* GNU Chess 5.0 - version.h - version information symbolic definitions
-   Copyright (c) 1999 Free Software Foundation, Inc.
+   Copyright (c) 1999-2002 Free Software Foundation, Inc.
 
    GNU Chess is based on the two research programs 
    Cobalt by Chua Kong-Sian and Gazebo by Stuart Cracraft.
@@ -21,7 +21,6 @@
 
    Contact Info: 
      address@hidden
-     address@hidden, address@hidden, address@hidden
 */
 #define PROGRAM          "GNU Chess"
 #define AUTHOR   "Chua Kong Sian / Stuart Cracraft" 




reply via email to

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