Age | Commit message (Collapse) | Author | Files | Lines |
|
that it is signed.
* strports.c (st_resize_port): Add unsigned char cast.
(scm_mkstrport): Make read/write_buf cast unsigned.
* srfi-13.c (string_titlecase_x): Add unsigned char cast.
* rdelim.c (scm_read_line): Initialize slen.
* load.c (scm_search_path): Remove weird >=1, and add
parentheses to clarify conditions.
* hash.c (scm_hasher): Add const unsigned char cast.
* gh_data.c (gh_chars2byvect): Add scm_t_int8 cast.
|
|
Validate list argument, scm_string_append and scm_string_append_shared
don't do that to their rest argument (in a normal build).
|
|
|
|
wrapper around the C code so for the final call to the predicate
procedure is a tail call, per SRFI-13 spec.
|
|
|
|
that #f is returned immediately when s1 is too short to contain s2.
|
|
scm_string_tabulate, string_upcase_x, string_down_case_x,
string_titlecase_x, string_reverse_x, scm_string_tokenize): Use
size_t instead of int for indices into strings. Make sure that no
over- or underflow occurs. Thanks to Andreas Vögele!
(scm_xsubstring, scm_string_xcopy_x): Use ints for 'extended'
indices, which can also be negative.
|
|
* srfi-13.c (scm_string_contains, s_scm_string_contains_ci):
Bugfix: when subtracting unsigned values, make sure that result
does not wrap.
|
|
some locals instead of int.
|
|
scm_i_string_chars et al. Copious scm_remember_upto_heres have
been inserted. Made sure that no internal string pointer is used
across a SCM_TICK or a possible GC.
|
|
|
|
* strop.h, strop.c: Removed, they are now empty.
* Makefile.am: Updated for new and removed files.
|