Removed superfluous saving of s48 ports. They are no longer imported anyway.
This commit is contained in:
parent
2cc6f3f087
commit
c3d776a279
|
@ -471,17 +471,7 @@
|
||||||
current-error-port)
|
current-error-port)
|
||||||
|
|
||||||
|
|
||||||
(define old-inport #f) ; Just because.
|
|
||||||
(define old-outport #f)
|
|
||||||
(define old-errport #f)
|
|
||||||
|
|
||||||
(define (init-fdports!)
|
(define (init-fdports!)
|
||||||
(if (not (fdport? (current-input-port)))
|
|
||||||
(set! old-inport (current-input-port)))
|
|
||||||
(if (not (fdport? (current-output-port)))
|
|
||||||
(set! old-outport (current-output-port)))
|
|
||||||
(if (not (fdport? (current-error-port)))
|
|
||||||
(set! old-errport (current-error-port)))
|
|
||||||
(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-fluid! $current-output-port
|
(set-fluid! $current-output-port
|
||||||
|
|
Loading…
Reference in New Issue