1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/games/cursive/files/patch-ab

12 lines
270 B
Plaintext
Raw Normal View History

--- cursive.c.orig Sat Dec 4 17:20:55 1999
+++ cursive.c Sat Dec 4 17:21:32 1999
@@ -128,7 +128,7 @@
else
{
/* Message from standard input */
- while (gets(message) != NULL)
+ while (fgets(message, sizeof(message), stdin) != NULL)
prline(message);
}
}