Fixed bug in %read-delimited! so the last char is not eaten if the buffer is full
This commit is contained in:
@@ -192,7 +192,6 @@
|
||||
(values c (- i start)))
|
||||
|
||||
((>= i end) ; Filled the buffer.
|
||||
(if gobble? (read-char port))
|
||||
(values #f (- i start)))
|
||||
|
||||
(else (string-set! buf i (read-char port))
|
||||
|
||||
Reference in New Issue
Block a user