summaryrefslogtreecommitdiff
path: root/math/plplot/files/patch-af
blob: 3c281ffe6ccd2d5b6d957a7768d29d4914b91665 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- utils/pltek.c.orig	Fri Sep 16 12:45:46 1994
+++ utils/pltek.c	Tue Jan  4 20:49:26 2000
@@ -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 */