0.8.2.53:
authorChristophe Rhodes <csr21@cam.ac.uk>
Thu, 21 Aug 2003 11:47:17 +0000 (11:47 +0000)
committerChristophe Rhodes <csr21@cam.ac.uk>
Thu, 21 Aug 2003 11:47:17 +0000 (11:47 +0000)
commit61b189e9b70c125a31eaf041a55e00b517cafbd3
treeeade0e91d37edf5181e1cd5567fb7aaacd93aa01
parent5b43e28a5a9f0fcdefc2132840492e2e382876c6
0.8.2.53:
Fixed hanging-on-reader-error in Darwin (and Solaris, it turns
out):
... Here's the deal: lseek(), on "certain devices", has
"unspecified consequences"
... said devices include, empirically, /dev/stdin
... so lseek was merrily returning a success code despite
clearly being incapable of rewinding the input stream
... so in our new error-reporting for reader errors, we were
assuming because of the success value that we could
read the erroneous input into a buffer...
... whereas we were rather sitting there waiting for more input.
... So protect the rereading code with an INTERACTIVE-STREAM-P.
src/code/condition.lisp
src/code/fd-stream.lisp
version.lisp-expr