X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcode%2Fstream.lisp;h=30f0e68ac7b723cb9ebb0087fd43503a7ed0d607;hb=41cb424785ec6daf0263acb1a6a8af9d41708990;hp=3065d162fe50f1f3f6ee496b04057816b0c45abc;hpb=9f175370f90a586b53ce086dce7fadf3cfb80ec4;p=sbcl.git diff --git a/src/code/stream.lisp b/src/code/stream.lisp index 3065d16..30f0e68 100644 --- a/src/code/stream.lisp +++ b/src/code/stream.lisp @@ -441,10 +441,8 @@ ;; a-s-read-sequence and needs a lambda list that's congruent with ;; that of a-s-read-char (declare (ignore recursive-p)) - (prepare-for-fast-read-byte stream - (prog1 - (fast-read-byte eof-error-p eof-value t) - (done-with-fast-read-byte)))) + (with-fast-read-byte (t stream eof-error-p eof-value) + (fast-read-byte))) (defun read-byte (stream &optional (eof-error-p t) eof-value) (if (ansi-stream-p stream) @@ -1301,7 +1299,7 @@ ;; end of the stream. (index-cache 0 :type index) ;; Requested element type - (element-type 'character)) + (element-type 'character :type type-specifier)) #!+sb-doc (setf (fdocumentation 'make-string-output-stream 'function)