diff options
author | Mark H Weaver <mhw@netris.org> | 2014-03-19 23:36:46 -0400 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2014-03-19 23:36:46 -0400 |
commit | 5dcbcfcef8eefd1f9e57d8ba69efe1ca945c95b1 (patch) | |
tree | 0c8ee97a95c27359226e2265272673c316d41249 /test-suite/standalone/test-scm-values.c | |
parent | e26ab067b2073c1eb5ace13d069674515b9f97c6 (diff) | |
download | guile-5dcbcfcef8eefd1f9e57d8ba69efe1ca945c95b1.tar.gz |
Fix (rnrs io simple) to open file ports in textual mode.
Fixes <http://bugs.gnu.org/17044>.
Reported and diagnosed by Xin Wang <dram.wang@gmail.com>.
* module/rnrs/io/simple.scm (open-input-file, open-output-file): Pass
missing buffer-mode argument to open-file-{input,output}-port.
Previously, (native-transcoder) was incorrectly passed as the
buffer-mode argument, so no transcoder was provided, thus creating a
binary port.
Diffstat (limited to 'test-suite/standalone/test-scm-values.c')
0 files changed, 0 insertions, 0 deletions