diff options
author | Daniel Llorens <daniel.llorens@bluewin.ch> | 2013-04-26 17:59:45 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2014-01-27 21:48:03 +0100 |
commit | d2053db7d8f6134f50bbd5102ddde7b72010dd97 (patch) | |
tree | 61d32a40fbcec62fe9cebe79d48a97b66babedc0 /libguile/strings.c | |
parent | 86263a20cd3f7ec1ade740c19ac47767e083d058 (diff) | |
download | guile-d2053db7d8f6134f50bbd5102ddde7b72010dd97.tar.gz |
Bounds error in vector_handle_ref/set is implementation error
* libguile/vectors.c: bounds are already checked unless impl is called
directly, so don't check again.
* libguile/strings.c, libguile/bitvectors.c: fix comments.
Diffstat (limited to 'libguile/strings.c')
-rw-r--r-- | libguile/strings.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libguile/strings.c b/libguile/strings.c index 3952b205d..9ca1d3333 100644 --- a/libguile/strings.c +++ b/libguile/strings.c @@ -2460,8 +2460,7 @@ scm_i_get_substring_spec (size_t len, *cend = scm_to_unsigned_integer (end, *cstart, len); } -/* FIXME: We know that bitvector is such, so can skip the checks in - scm_c_string_... */ +/* FIXME: We know that string is such, so can skip checks */ static SCM string_handle_ref (SCM string, size_t index) { |