From 3219766a88658984fa8a456ab05d71c61200fbcd Mon Sep 17 00:00:00 2001 From: ram <ram> Date: Wed, 28 Sep 1994 13:40:26 +0000 Subject: [PATCH] In read-line, put the actual stream in the call to eof-or-lose, not the original arg (which might be T or NIL.) --- code/stream.lisp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/code/stream.lisp b/code/stream.lisp index 668dcdab2..3a5b01eef 100644 --- a/code/stream.lisp +++ b/code/stream.lisp @@ -7,7 +7,7 @@ ;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/stream.lisp,v 1.21 1994/08/23 18:36:22 ram Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/stream.lisp,v 1.22 1994/09/28 13:40:26 ram Exp $") ;;; ;;; ********************************************************************** ;;; @@ -275,7 +275,9 @@ (incf index)) ((zerop index) (done-with-fast-read-char) - (return (eof-or-lose stream eof-errorp eof-value))) + (return (values (eof-or-lose (in-synonym-of stream) + eof-errorp eof-value) + t))) ;; since fast-read-char hit already the eof char, we ;; shouldn't do another read-char (t -- GitLab