From d2053db7d8f6134f50bbd5102ddde7b72010dd97 Mon Sep 17 00:00:00 2001 From: Daniel Llorens Date: Fri, 26 Apr 2013 17:59:45 +0200 Subject: 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. --- libguile/strings.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libguile/strings.c') 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) { -- cgit v1.2.3