Skip to content
Snippets Groups Projects
Commit 714594b1 authored by ram's avatar ram
Browse files

In read-n-bytes, only signal EOF when we read and got 0 bytes, not never read

returns less than we wanted.  Also, fix the case of small reads with an empty
buffer not to leave garbled buffer pointers if we have to do more than one
read.
parent 40a46309
No related branches found
No related tags found
Loading
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