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]
|
||||
[(output-port? x)
|
||||
(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)])
|
||||
(write-char #\> p)
|
||||
i)]
|
||||
[(input-port? x)
|
||||
(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)])
|
||||
(write-char #\> p)
|
||||
i)]
|
||||
|
|
|
@ -1 +1 @@
|
|||
1356
|
||||
1358
|
||||
|
|
Loading…
Reference in New Issue