fixed bug in IO where the system was silently eating up any
remaining bytes while refilling a buffer.
This commit is contained in:
@@ -399,7 +399,7 @@
|
||||
(print-simple-condition (car ls) p)
|
||||
(f (cdr ls) (+ i 1)))))))]
|
||||
[else
|
||||
(display "Non-condition object: " p)
|
||||
(display " Non-condition object: " p)
|
||||
(write x p)
|
||||
(newline p)]))
|
||||
(case-lambda
|
||||
|
||||
+1
-1
@@ -714,7 +714,7 @@
|
||||
[(fx>= j 0)
|
||||
(unless (fx<= j max)
|
||||
(die who "read! returned a value out of range" j))
|
||||
($set-port-index! p c0)
|
||||
($set-port-index! p 0)
|
||||
($set-port-size! p (fx+ c1 c0))
|
||||
c1]
|
||||
[else
|
||||
|
||||
Reference in New Issue
Block a user