Fixes bug 175517: Custom textual output port not recognized as a

textual port
This commit is contained in:
Abdulaziz Ghuloum 2007-12-14 19:42:00 -05:00
parent 4e66fe76e8
commit 5deeb28bbe
2 changed files with 3 additions and 3 deletions

View File

@ -304,7 +304,7 @@
(unless (or (procedure? close) (not close))
(error who "close should be either a procedure or #f" close))
($make-custom-textual-port
textual-input-port-bits
(fxior textual-input-port-bits fast-char-text-tag)
0
id read! #f get-position
set-position! close 256))
@ -320,7 +320,7 @@
(unless (or (procedure? close) (not close))
(error who "close should be either a procedure or #f" close))
($make-custom-textual-port
textual-output-port-bits
(fxior textual-output-port-bits fast-char-text-tag)
256
id #f write! get-position
set-position! close 256))

View File

@ -1 +1 @@
1241
1242