From e0719a8b6d8e7ea87ea45325a3dba76ad534b972 Mon Sep 17 00:00:00 2001
From: ram <ram>
Date: Wed, 17 Oct 1990 03:46:22 +0000
Subject: [PATCH] Fixed CONCATENATED-READLINE to not declare variables to be
 SIMPLE-STRING when they aren't.

---
 code/stream.lisp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/code/stream.lisp b/code/stream.lisp
index a0809eb4a..a8f927992 100644
--- a/code/stream.lisp
+++ b/code/stream.lisp
@@ -7,7 +7,7 @@
 ;;; Scott Fahlman (FAHLMAN@CMUC). 
 ;;; **********************************************************************
 ;;;
-;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/stream.lisp,v 1.5 1990/10/11 18:30:21 ram Exp $
+;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/stream.lisp,v 1.6 1990/10/17 03:46:22 ram Exp $
 ;;;
 ;;; Stream functions for Spice Lisp.
 ;;; Written by Skef Wholey and Rob MacLachlan.
@@ -651,11 +651,11 @@
 	       (new ""))
 	      ((or (not eofp) (null current))
 	       (return-from concatenated-readline (values result eofp)))
-	    (declare (simple-string new))
+	    (declare (type (or simple-string (member :eof)) new))
 	    (setf (concatenated-stream-current stream) current)
 	    (let ((this (car current)))
 	      (multiple-value-setq (new eofp)
-		(read-line this nil nil))
+		(read-line this nil :eof))
 	      (if new
 		  (setq result (concatenate 'simple-string result new))
 		  (setq eofp t)))))))))
-- 
GitLab