freebsd-ports/games/xmille/files/patch-ah
Kevin Lo a6d16c4971 - Use .tar.gz archive instead of (vanished) .tar.Z archive
- gets() -> fgets()

PR: 24821
Submitted by: Ports Fury
2001-02-03 17:00:35 +00:00

11 lines
282 B
Text

--- varpush.c.orig Wed Jul 8 11:33:36 1987
+++ varpush.c Thu Feb 1 00:27:53 2001
@@ -36,7 +36,7 @@
char buf[80];
over:
printf("Debug file:");
- gets(buf);
+ fgets(buf, sizeof(buf), stdin);
if ((outf = fopen(buf, "w")) == NULL) {
perror(buf);
goto over;