diff --git a/code/fd-stream.lisp b/code/fd-stream.lisp index 17cafc9c8a39f05ac879048f7f0e58fa064e319f..706927f72c42ac8740434b8d620c7b234cb65cd2 100644 --- a/code/fd-stream.lisp +++ b/code/fd-stream.lisp @@ -5,7 +5,7 @@ ;;; Carnegie Mellon University, and has been placed in the public domain. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/fd-stream.lisp,v 1.58 2002/02/04 17:22:14 toy Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/fd-stream.lisp,v 1.59 2002/04/03 18:30:40 pw Exp $") ;;; ;;; ********************************************************************** ;;; @@ -857,7 +857,7 @@ (eql size 4)) ;; Support for n-byte operations on 8-, 16-, and 32-bit streams (setf (fd-stream-n-bin stream) #'fd-stream-read-n-bytes) - (when buffer-p + (when (and buffer-p (eql size 1)) (setf (lisp-stream-in-buffer stream) (make-array in-buffer-length :element-type '(unsigned-byte 8)))))