summaryrefslogtreecommitdiff
path: root/games/gnuchess/patches/patch-ad
blob: e12ca5e2e1e45bf33c8c3ab8de90666cac9c30de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ad,v 1.2 1999/11/17 23:06:22 tron Exp $

--- search.c.orig	Mon Sep 28 08:41:23 1998
+++ search.c	Thu Dec 10 23:39:26 1998
@@ -174,7 +174,7 @@
       while (true)
 	{
 	  printf ("debug?");
-	  gets (b);
+	  fgets (b, 32, stdin); b[31] = '\0';
 	  if (b[0] == 'p')
 	    traceply = atoi (&b[1]);
 	  else if (b[0] == '\0')