Skip to content
Snippets Groups Projects
Commit eb2bca57 authored by dtc's avatar dtc
Browse files

Fix for string-stream-read-n-bytes: when the requested number of bytes

is greater than those available, copy all those available and return
the number copied; it had been simply returning Nil or generating an
end-of-file error without coping any bytes.

This enables read-sequence to once again use the n-bin method on
string streams; remove the hack restriction.  Also fix an error in the
returned element index for the case in which the start index is not
zero.
parent d2d4a9c4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment