X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=byte-stream.lisp;h=fd7a56ae08d55c902c368a690e58abce5f000575;hb=2cfe7dc5fb016ef08bb70e3eabed39c44dad468a;hp=d65387f633a66f249ed22c0378212839c26a4012;hpb=64c1c09e57f627046cec4d5f20b9b4b953307235;p=kmrcl.git diff --git a/byte-stream.lisp b/byte-stream.lisp index d65387f..fd7a56a 100644 --- a/byte-stream.lisp +++ b/byte-stream.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: June 2003 ;;;; -;;;; $Id: byte-stream.lisp,v 1.2 2003/08/02 22:19:37 kevin Exp $ +;;;; $Id$ ;;;; ;;;; Works for CMUCL, SBCL, and AllergoCL only ;;;; @@ -110,7 +110,11 @@ Make-Byte-Array-Output-Stream since the last call to this function." (let ((byte-array (byte-array-input-stream-byte-array stream)) (index (byte-array-input-stream-current stream))) (cond ((= index (byte-array-input-stream-end stream)) - (eof-or-lose stream eof-errorp eof-value)) + #+cmu + (eof-or-lose stream eof-errorp eof-value) + #+sbcl + (sb-impl::eof-or-lose stream eof-errorp eof-value) + ) (t (setf (byte-array-input-stream-current stream) (1+ index)) (aref byte-array index))))) @@ -119,7 +123,11 @@ Make-Byte-Array-Output-Stream since the last call to this function." (let ((byte-array (byte-array-input-stream-byte-array stream)) (index (byte-array-input-stream-current stream))) (cond ((= index (byte-array-input-stream-end stream)) - (eof-or-lose stream eof-errorp eof-value)) + #+cmu + (eof-or-lose stream eof-errorp eof-value) + #+sbcl + (sb-impl::eof-or-lose stream eof-errorp eof-value) + ) (t (setf (byte-array-input-stream-current stream) (1+ index)) (aref byte-array index)))))