Larn 12.0 portablitity bug

Kurt Staiger staiger at ncrcae.UUCP
Thu Aug 14 22:52:19 AEST 1986


FIONREAD is included in two spots in tok.c.  The simplest hack is to comment out
the ioctl and ic checking in both locations and insert "fflush(stdin);" in the 
flushall subroutine.  Essentially, this restores the typeahead problem because
no checking is done but the game will compile and run under SysV.

P.S. The "#include <stdio.h>" line has to be put in tok.c as well. Note this is
not an "official" fix just a suggestion.



More information about the Comp.sources.bugs mailing list