merge strictness branch from 2.0
This commit is contained in:
commit
86fb1eb631
52 changed files with 402 additions and 340 deletions
|
|
@ -726,11 +726,11 @@ SCM_DEFINE (scm_put_bytevector, "put-bytevector", 2, 2, 0,
|
|||
c_len = SCM_BYTEVECTOR_LENGTH (bv);
|
||||
c_bv = (char *) SCM_BYTEVECTOR_CONTENTS (bv);
|
||||
|
||||
if (start != SCM_UNDEFINED)
|
||||
if (!scm_is_eq (start, SCM_UNDEFINED))
|
||||
{
|
||||
c_start = scm_to_uint (start);
|
||||
|
||||
if (count != SCM_UNDEFINED)
|
||||
if (!scm_is_eq (count, SCM_UNDEFINED))
|
||||
{
|
||||
c_count = scm_to_uint (count);
|
||||
if (SCM_UNLIKELY (c_start + c_count > c_len))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue