mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
759f70b39c
PR: 16514 Submitted by: MIHIRA Yoshiro <sanpei@sanpei.org>
12 lines
311 B
Plaintext
12 lines
311 B
Plaintext
--- poster.c.org Thu Apr 29 00:22:46 1999
|
|
+++ poster.c Sun Jan 30 00:48:11 2000
|
|
@@ -570,7 +570,7 @@
|
|
|
|
got_bb = 0;
|
|
dsc_cont = inbody = gotall = level = atend = 0;
|
|
- while (!gotall && (gets(buf) != NULL))
|
|
+ while (!gotall && (fgets(buf, BUFSIZE, stdin) != NULL))
|
|
{
|
|
if (buf[0] != '%')
|
|
{ dsc_cont = 0;
|