ports: Accept `#f' as a transcoder argument.
authorLudovic Courtès <ludo@gnu.org>
Mon, 20 Apr 2009 16:45:59 +0000 (18:45 +0200)
committerLudovic Courtès <ludo@gnu.org>
Mon, 20 Apr 2009 16:45:59 +0000 (18:45 +0200)
commit4a28515151d530aed085d263be97c5c87887897f
tree8bd8f39bc542917fd8585e48f63545609925bdd4
parent807cdf5d0aaa88929c83b39c7190bf1fa449e278
ports: Accept `#f' as a transcoder argument.

* src/ports.c (scm_r6rs_open_bytevector_input_port,
  scm_r6rs_open_bytevector_output_port): Accept TRANSCODER == #f.

* tests/io-ports.test ("7.2.7 Input Ports"): Call
  `open-bytevector-input-port' with `#f' sometimes.
  ("8.2.10 Output ports"): Likewise.
src/ports.c
tests/io-ports.test