[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Am I just a naive IO user, or is this a bug?
- To: (BUG LISP) at MIT-MC
- Subject: Am I just a naive IO user, or is this a bug?
- From: DCP at MIT-MC (David C. Plummer)
- Date: Mon, 9 Feb 81 06:31:00 GMT
- Original-date: 9 FEB 1981 0131-EST
File foo is freshly opened for input, but there is nothing in the
file. Now I do either a
(tyi foo) ==> -1
or
(readline foo 'nil) ==> nil
This is right, but try to do another tyi or readline
and you will find that the file has been graciously
closed behind your back. You cannot attempt to read
from it and request more end-of-file conditions.
what gives??