blob: 41377dbbf99ae0da99e312850d8dff85259b2458 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ag,v 1.2 1998/08/07 11:14:18 agc Exp $
--- ./src/gui.c.org Tue Apr 9 21:47:32 1996
+++ ./src/gui.c Tue Apr 9 22:01:26 1996
@@ -3623,7 +3623,7 @@
return 0;
else
{
-{char ans[10]; printf("Press RETURN\n"); gets(ans);}
+{char ans[10]; printf("Press RETURN\n"); fgets(ans, sizeof(ans), stdin);}
/* All other errors are 'fatal'. */
XGetErrorText (dsp, event->error_code, buf, 128);
fprintf (stderr, "X Error: %s\n", buf);
|