From: Christophe Rhodes Date: Sat, 6 Mar 2004 22:09:43 +0000 (+0000) Subject: 0.8.8.17: X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=8bc4923b67afbaed8914200cbabc948d9b5eaece;p=sbcl.git 0.8.8.17: Make CLOSE works on STRING-STREAMs --- diff --git a/NEWS b/NEWS index 7b85c6e..5508258 100644 --- a/NEWS +++ b/NEWS @@ -2340,7 +2340,8 @@ changes in sbcl-0.8.9 relative to sbcl-0.8.8: their output stream on EOF from read. ** CONCATENATED-STREAM-STREAMS discards constituent streams which have been read to end-of-file. - ** CLOSE works as expected on the null CONCATENATED-STREAM. + ** CLOSE works as expected on the null CONCATENATED-STREAM, and on + STRING-STREAMS. planned incompatible changes in 0.8.x: * (not done yet, but planned:) When the profiling interface settles diff --git a/src/code/stream.lisp b/src/code/stream.lisp index d5af885..5a256a3 100644 --- a/src/code/stream.lisp +++ b/src/code/stream.lisp @@ -1015,6 +1015,7 @@ ;; This is checked by FILE-LENGTH, so no need to do it here either. ;; (:file-length (length (string-input-stream-string stream))) (:unread (decf (string-input-stream-current stream))) + (:close (set-closed-flame stream)) (:listen (or (/= (the index (string-input-stream-current stream)) (the index (string-input-stream-end stream))) :eof)) @@ -1126,6 +1127,7 @@ (subseq buffer 0 end)))) arg1)))) (string-output-stream-index stream))) + (:close (set-closed-flame stream)) (:charpos (do ((index (1- (the fixnum (string-output-stream-index stream))) (1- index)) diff --git a/version.lisp-expr b/version.lisp-expr index e63e667..b2bcece 100644 --- a/version.lisp-expr +++ b/version.lisp-expr @@ -17,4 +17,4 @@ ;;; checkins which aren't released. (And occasionally for internal ;;; versions, especially for internal versions off the main CVS ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".) -"0.8.8.16" +"0.8.8.17"