Fixes bug 184991: binary ports' printed representation says they're
textual
This commit is contained in:
parent
b0ffb78d67
commit
b00e56face
|
@ -543,13 +543,13 @@
|
||||||
i]
|
i]
|
||||||
[(output-port? x)
|
[(output-port? x)
|
||||||
(write-char* "#<output-port " p)
|
(write-char* "#<output-port " p)
|
||||||
(write-char* (if (binary-port? p) "(binary)" "(textual)") p)
|
(write-char* (if (binary-port? x) "(binary) " "(textual) ") p)
|
||||||
(let ([i (writer (output-port-name x) p #t h i)])
|
(let ([i (writer (output-port-name x) p #t h i)])
|
||||||
(write-char #\> p)
|
(write-char #\> p)
|
||||||
i)]
|
i)]
|
||||||
[(input-port? x)
|
[(input-port? x)
|
||||||
(write-char* "#<input-port " p)
|
(write-char* "#<input-port " p)
|
||||||
(write-char* (if (binary-port? p) "(binary)" "(textual)") p)
|
(write-char* (if (binary-port? x) "(binary) " "(textual) ") p)
|
||||||
(let ([i (writer (input-port-name x) p #t h i)])
|
(let ([i (writer (input-port-name x) p #t h i)])
|
||||||
(write-char #\> p)
|
(write-char #\> p)
|
||||||
i)]
|
i)]
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
1356
|
1358
|
||||||
|
|
Loading…
Reference in New Issue