2013-09-26 17:14:40 +02:00

14 lines
347 B
Plaintext

$NetBSD: patch-ad,v 1.2 2005/11/03 22:01:10 rillig Exp $
--- src/search.c.orig Mon Sep 28 08:41:23 1998
+++ src/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')