aboutsummaryrefslogtreecommitdiff
path: root/print/poster/files/patch-poster.c
diff options
context:
space:
mode:
Diffstat (limited to 'print/poster/files/patch-poster.c')
-rw-r--r--print/poster/files/patch-poster.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/print/poster/files/patch-poster.c b/print/poster/files/patch-poster.c
new file mode 100644
index 000000000000..8c14e4a52760
--- /dev/null
+++ b/print/poster/files/patch-poster.c
@@ -0,0 +1,11 @@
+--- 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;