[688] in Athena Bugs
bug in print9700
daemon@ATHENA.MIT.EDU (jik@ATHENA.MIT.EDU)
Mon Aug 29 20:36:57 1988
From: <jik@ATHENA.MIT.EDU>
Date: Mon, 29 Aug 88 20:14:22 EDT
To: bugs@ATHENA.MIT.EDU
To repeat this bug. Run print9700, and then when it asks you what
file you want to print, hit ^D. You will go into an infinite loop
which can be terminated only with an interrupt.
To fix it, use patch to install the following patch onto the sources
in /paris/source/4.3/usr.athena/print9700.c.
---cut here---
412,415c412
< if (gets(buffer) == NULL) {
< printf("\n");
< exit(0);
< }
---
> gets(buffer);
---cut here---
--> Jonathan Kamens
Project Athena Watchmaker
SIPB (Student Information Processing Board) Member
Volunteer OLC Consultant
jik@ATHENA.MIT.EDU