$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')