Set bufpol/none for current-input-port.
This commit is contained in:
parent
f35bd77442
commit
7fb1d585b2
|
@ -488,9 +488,10 @@
|
||||||
(define (init-fdports!)
|
(define (init-fdports!)
|
||||||
(set-fluid! $current-input-port
|
(set-fluid! $current-input-port
|
||||||
(channel-port->input-fdport (current-input-port)))
|
(channel-port->input-fdport (current-input-port)))
|
||||||
|
(set-port-buffering (current-input-port) bufpol/none)
|
||||||
|
|
||||||
(set-fluid! $current-output-port
|
(set-fluid! $current-output-port
|
||||||
(channel-port->output-fdport (current-output-port)))
|
(channel-port->output-fdport (current-output-port)))
|
||||||
|
|
||||||
(set-fluid! $current-error-port
|
(set-fluid! $current-error-port
|
||||||
(channel-port->unbuffered-output-fdport (current-error-port)))
|
(channel-port->unbuffered-output-fdport (current-error-port)))
|
||||||
(set-fluid! $current-noise-port
|
(set-fluid! $current-noise-port
|
||||||
|
|
Loading…
Reference in New Issue