projects
/
kmrcl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
61100bf
)
r5565: *** empty log message ***
author
Kevin M. Rosenberg
<kevin@rosenberg.net>
Wed, 27 Aug 2003 20:12:02 +0000
(20:12 +0000)
committer
Kevin M. Rosenberg
<kevin@rosenberg.net>
Wed, 27 Aug 2003 20:12:02 +0000
(20:12 +0000)
byte-stream.lisp
patch
|
blob
|
history
diff --git
a/byte-stream.lisp
b/byte-stream.lisp
index d65387f633a66f249ed22c0378212839c26a4012..a22d4d136cec0a8f236586d39d47b30626d74a7e 100644
(file)
--- a/
byte-stream.lisp
+++ b/
byte-stream.lisp
@@
-7,7
+7,7
@@
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: June 2003
;;;;
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: June 2003
;;;;
-;;;; $Id: byte-stream.lisp,v 1.
2 2003/08/02 22:19:37
kevin Exp $
+;;;; $Id: byte-stream.lisp,v 1.
3 2003/08/27 20:07:08
kevin Exp $
;;;;
;;;; Works for CMUCL, SBCL, and AllergoCL only
;;;;
;;;;
;;;; 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))
(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)))))
(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))
(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)))))
(t
(setf (byte-array-input-stream-current stream) (1+ index))
(aref byte-array index)))))