Bytevectors: Fixed `bytevector->[us]int-list' for empty vectors.
commit70c1143ff39ee492a8dd981a1e1874b07b77ab0e
authorLudovic Court`es <ludovic.courtes@laas.fr>
Fri, 23 Feb 2007 15:02:03 +0000 (23 15:02 +0000)
committerLudovic Court`es <ludovic.courtes@laas.fr>
Fri, 23 Feb 2007 15:02:03 +0000 (23 15:02 +0000)
treeae6d8cf03277261a22a56e135986fdc51307d8aa
parent7f39982b5d8d24ff5a01a3c5a58a8eba36bcfbea
Bytevectors: Fixed `bytevector->[us]int-list' for empty vectors.

* src/bytevector.c (INTEGERS_TO_LIST): Properly handle C_LEN == 0.
  (scm_r6rs_bytevector_to_uint_list): Fixed `FUNC_NAME'.

* tests/bytevector.test (2.3 Operations on Integers of Arbitrary
  Size)[bytevector->uint-list [empty]]: New test.

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