Subject: Re: games/gomoku
To: John Birrell <jb@cimlogic.com.au>
From: Chris G Demetriou <Chris_G_Demetriou@ux2.sp.cs.cmu.edu>
List: port-alpha
Date: 01/02/1997 20:23:42
> The gomoku game that was recently added to the tree is not 64 bit clean.
> Who is going to clean it up?

I just did.  The diff is below.  Not very "unclean" after all.
(In fact, it took longer to compile than it did to fix...)

After it built, it seems to work fine.



cgd
===================================================================
Index: bdisp.c
===================================================================
RCS file: /cvsroot/src/games/gomoku/bdisp.c,v
retrieving revision 1.2
diff -c -r1.2 bdisp.c
*** bdisp.c	1996/12/28 18:56:59	1.2
--- bdisp.c	1997/01/03 01:06:12
***************
*** 46,51 ****
--- 46,52 ----
  
  #include "gomoku.h"
  #include <stdio.h>
+ #include <string.h>
  #include <curses.h>
  
  #define	SCRNH		24		/* assume 24 lines for the moment */
Index: pickmove.c
===================================================================
RCS file: /cvsroot/src/games/gomoku/pickmove.c,v
retrieving revision 1.2
diff -c -r1.2 pickmove.c
*** pickmove.c	1996/12/28 18:57:04	1.2
--- pickmove.c	1997/01/03 01:10:35
***************
*** 45,50 ****
--- 45,52 ----
  #endif /* not lint */
  
  #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
  #include <curses.h>
  #include <machine/limits.h>