summaryrefslogtreecommitdiff
path: root/graphics/plplot/patches/patch-af
blob: 295b405553a1aeb9aca1171fce1442b9e73cb8ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-af,v 1.1.1.1 2000/12/02 05:40:33 jtb Exp $

--- utils/pltek.c.orig
+++ utils/pltek.c
@@ -110,7 +110,7 @@
 	oldpage = ipage;
 	printf("Page %d/%d> ", ipage, npage);
 
-	gets(ibuf);
+	fgets(ibuf, sizeof(ibuf), stdin);
 	c = ibuf[0];
 
 /* User input a page number or a return */