diff options
author | Andy Wingo <wingo@pobox.com> | 2010-08-04 21:48:00 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2010-08-04 21:48:00 +0200 |
commit | 551b96d294f3b09c37124562e3da64a7bd399666 (patch) | |
tree | f5aee2624b5827c2ecc2d056ec63b1272a96a703 /doc/ref/scheme-using.texi | |
parent | f9560a348e83ec3c494aee0d42b056383392ffca (diff) | |
download | guile-551b96d294f3b09c37124562e3da64a7bd399666.tar.gz |
fix vector-move-right! and vector-move-left!
* libguile/vectors.c (scm_vector_move_left_x, scm_vector_move_right_x):
Fix some bugs reported by Michael Lucy -- both variants would happily
write beyond the end, and vector-move-right! didn't increment the
counter before copying in the reverse direction.
* test-suite/tests/vectors.test ("vector-move-left!"):
("vector-move-right!"): Add tests.
Diffstat (limited to 'doc/ref/scheme-using.texi')
0 files changed, 0 insertions, 0 deletions