dlong@sdsu.UUCP (Dean Long) (03/08/87)
The last diff I posted for head.c doesn't work for multiple files, like
"head *.c" because prints() doesn't use stdio. Fflush isn't called
before prints(), so things get written out of order. Just move the
fflush() call into the main loop, and things should work:
------------
47a48
> fflush(stdout);
49d49
< fflush(stdout);
--
Dean Long
University of California, San Diego
sdcsvax!tiamat!dlong