mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-07-05 17:20:18 +02:00
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.
This commit is contained in:
parent
86263a20cd
commit
d2053db7d8
3 changed files with 5 additions and 9 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue