Change `make-custom-binary-input-port' to require 5 arguments.
commit5c5ca1a457112595d66cc3fc6e529f286d4a242b
authorLudovic Courtès <ludo@gnu.org>
Thu, 9 Apr 2009 21:49:38 +0000 (9 23:49 +0200)
committerLudovic Courtès <ludo@gnu.org>
Thu, 9 Apr 2009 21:49:38 +0000 (9 23:49 +0200)
tree826887863863a6aa1c6854bb5f43556f3e0a0f4f
parent1f0f950baa009ce5b11c3b38b26e25d0301a88e8
Change `make-custom-binary-input-port' to require 5 arguments.

* src/ports.c (scm_r6rs_make_custom_binary_input_port): Have 5 required
  arguments, instead of 2 + 3 optional, which did not conform to the
  standard.  Handle `#f' arguments.

* doc/api-r6rs.texi (R6RS Binary Input): Update description of
  `make-custom-binary-input-port'.

* tests/io-ports.test ("7.2.7 Input
  Ports")["make-custom-binary-input-port [wrong-num-args]"]: New test.
  Update callers of `make-custom-binary-input-port'.
NEWS
doc/api-r6rs.texi
src/ports.c
tests/io-ports.test