Fixed handling of closed ports in `get-bytevector*'.
commitde85408c02286230bf251d5f1e1ba697e726438c
authorLudovic Courtes <ludo@gnu.org>
Sun, 2 Sep 2007 16:56:54 +0000 (2 16:56 +0000)
committerLudovic Courtes <ludo@gnu.org>
Sun, 2 Sep 2007 16:56:54 +0000 (2 16:56 +0000)
tree85c9ed84f6a99e946f4ed1a6c464fe3432d08c31
parent74e28d6ac729fd4727656100a044d2de6f19b93d
Fixed handling of closed ports in `get-bytevector*'.

* src/ports.c (SCM_VALIDATE_R6RS_BINARY_INPUT_PORT): Use
  `SCM_VALIDATE_OPINPORT'.

* tests/io-ports.test (7.2.8 Binary Input)[get-bytevector-n with closed
  port]: New test.

git-archimport-id: lcourtes@laas.fr--2006-libre/guile-r6rs-libs--devo--0--patch-46
ChangeLog
src/ports.c
tests/io-ports.test