diff options
author | Andreas Rottmann <a.rottmann@gmx.at> | 2011-05-27 15:32:01 +0200 |
---|---|---|
committer | Andreas Rottmann <a.rottmann@gmx.at> | 2011-05-27 15:32:01 +0200 |
commit | 0687e826a12e45cec9fcf14ed642f176d230afb9 (patch) | |
tree | febb98c86c819842d1492a31522d35deb86b4c41 /doc/ref/compiler.texi | |
parent | dfc4d56df1854e1c93606fa03497ff7218357e3d (diff) | |
download | guile-0687e826a12e45cec9fcf14ed642f176d230afb9.tar.gz |
rnrs io ports: fix port encoding when opening file ports
* module/rnrs/io/ports.scm (open-file-input-port)
(open-file-output-port): Ensure the resulting ports are binary when no
transcoder is specified.
* test-suite/tests/r6rs-ports.test: Remove superfluous global change of
`%default-port-encoding' and accompanying comment.
("7.2.7 Input Ports"): Add test ensuring `open-file-input-port' opens
a binary port when no transcoder is specified.
("8.2.10 Output ports"): Strengthen existing `open-file-output-port'
binary-ness test by setting `%default-port-encoding' to "UTF-8".
Diffstat (limited to 'doc/ref/compiler.texi')
0 files changed, 0 insertions, 0 deletions