File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ can be discarded if BYTE-ALIGNED-P returns T."))
190
190
(unless (>= end start)
191
191
(return-from %stream-write-sequence sequence ))
192
192
(cond ((and (equal (slot-value stream ' bits-left) 0 )
193
- (slot-value stream ' real-stream))
193
+ (streamp ( slot-value stream ' real-stream) ))
194
194
(write-sequence sequence (slot-value stream ' real-stream) :start start :end end))
195
195
(t (loop for ix from start to end
196
196
do (write-byte (elt sequence ix) stream ))
@@ -210,11 +210,11 @@ can be discarded if BYTE-ALIGNED-P returns T."))
210
210
(return-from %stream-read-sequence sequence ))
211
211
(init-read stream )
212
212
(cond ((and (equal (slot-value stream ' bits-left) 0 )
213
- (slot-value stream ' real-stream))
213
+ (streamp ( slot-value stream ' real-stream) ))
214
214
(read-sequence sequence (slot-value stream ' real-stream) :start start :end end))
215
215
(t
216
216
(loop for ix from start below end
217
- do (setf (aref sequence ix) (read-byte stream ))
217
+ do (setf (elt sequence ix) (read-byte stream ))
218
218
count t ))))
219
219
220
220
#- sbcl
You can’t perform that action at this time.
0 commit comments