fixed printing of #<output-port ---> (were written as #<input-port --->).

This commit is contained in:
Abdulaziz Ghuloum 2008-11-09 23:12:51 -05:00
parent 122f4f1663
commit 2903b7f9e0
2 changed files with 2 additions and 2 deletions

View File

@ -566,7 +566,7 @@
[else (write-char* "#<procedure>" p)]))
(define (write-port x p)
(write-char* "#<" p)
(write-char* (if (output-port? p) "output" "input") p)
(write-char* (if (output-port? x) "output" "input") p)
(write-char* "-port " p)
(write-char* (if (binary-port? x) "(binary) " "(textual) ") p)
(let ([i (wr (port-id x) p #t h i)])

View File

@ -1 +1 @@
1663
1664