On Fri, May 12, 2017 at 01:28:25AM +0200, Danilo Kordic wrote: > : [in FD [eof]] > -> T > : [in FD [line T]] > -> NIL > : # I guess the problem is related to `eof'. Once it becomes `T' FD > is no longer useful.
Not only (eof). Any reading beyond end of file causes this state to be remembered in the character-look-ahead buffer of the I/O system, so that further reading returns NIL. But I think this was not the problem of the initial poster, where the low-level read() did not return. The look-ahead happens on a higher level. ♪♫ Alex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe