Changeset 9741
- Timestamp:
- Jun 12, 2008, 8:22:12 PM (16 years ago)
- File:
-
- 1 edited
-
branches/working-0711/ccl/level-1/l1-streams.lisp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/working-0711/ccl/level-1/l1-streams.lisp
r9620 r9741 3539 3539 ((= i end) end) 3540 3540 (declare (fixnum i)) 3541 (let* ((b (read-byte stream )))3541 (let* ((b (read-byte stream nil :eof))) 3542 3542 (if (eq b :eof) 3543 3543 (return i) … … 3710 3710 ((= i count) count) 3711 3711 (declare (fixnum i)) 3712 (let* ((b (read-byte stream )))3712 (let* ((b (read-byte stream nil :eof))) 3713 3713 (if (eq b :eof) 3714 3714 (return i) … … 3716 3716 3717 3717 3718 3719 3720 3721 (defmethod stream-read-vector ((stream binary-input-stream)3722 vector start end)3723 (declare (fixnum start end))3724 (do* ((i start (1+ i)))3725 ((= i end) end)3726 (declare (fixnum i))3727 (let* ((b (read-byte stream)))3728 (if (eq b :eof)3729 (return i)3730 (setf (uvref vector i) b)))))3731 3718 3732 3719 (defun stream-is-closed (s)
Note:
See TracChangeset
for help on using the changeset viewer.
