Don't readinto if we're dropping.
@@ -422,7 +422,11 @@ const readdelim = {f, delim, drop
* delimiter at the end. If we're at 0 bytes even
* then, return an eof.
*/
+ if drop
+ f.rstart += f.rend - f.rstart
+ else
readinto(f, &ret, f.rend - f.rstart)
+ ;;
match ret.len
| 0: -> `std.Err `Eof
| _: -> `std.Ok ret
