Fixes bug 194232: fasl-write error message wrong about textual
output ports
This commit is contained in:
parent
e36b0029f6
commit
ed9f85ea7c
|
@ -388,7 +388,10 @@
|
||||||
(void))))
|
(void))))
|
||||||
(define fasl-write
|
(define fasl-write
|
||||||
(case-lambda
|
(case-lambda
|
||||||
[(x port)
|
[(x p)
|
||||||
(unless (and (output-port? port) (binary-port? port))
|
(cond
|
||||||
(die 'fasl-write "not an output port" port))
|
[(not (output-port? p))
|
||||||
(fasl-write-to-port x port)])))
|
(die 'fasl-write "not an output port" p)]
|
||||||
|
[(not (binary-port? p))
|
||||||
|
(die 'fasl-write "not a binary port" p)]
|
||||||
|
[else (fasl-write-to-port x p)])])))
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
1402
|
1405
|
||||||
|
|
Loading…
Reference in New Issue