(LIBGUILE_INTERFACE_REVISION): increment for release.
(LIBGUILE_SRFI_SRFI_4_INTERFACE_REVISION): increment for release.
(LIBGUILE_SRFI_SRFI_13_14_INTERFACE_REVISION): increment for release.
particular adjust scm_mallocated so that when bignums are trimmed by
scm_i_adjbig the net effect (after gc) on scm_mallocated is 0. Test
case in gc.test.
the value at its top. This fixes a reference leak.
(PUSH_REF): Perform `pstate->top++' after setting the next stack
slot to make the code clearer. (Thanks to Ludovic Courtès for
this patch.)
(scm_string_trim, scm_string_trim_right)
(scm_string_trim_right, scm_string_trim_both)
(scm_string_compare, scm_string_compare_ci, scm_string_eq)
(scm_string_neq, scm_string_lt, scm_string_gt)
(scm_string_le, scm_string_ge, scm_string_ci_eq)
(scm_string_ci_neq, scm_string_ci_lt, scm_string_ci_gt)
(scm_string_ci_le, scm_string_ci_ge, scm_string_indexS)
(scm_string_index_right, scm_string_skip)
(scm_string_skip_right, scm_string_count, scm_string_map)
(scm_string_map_x, scm_string_fold, scm_string_fold_right)
(scm_string_for_each, scm_string_filter, scm_string_delete): Fix
char vs unsigned char mismatches in various function calls. For
the most part, this means adding a char * alias to existing
unsigned char * for calls to SCM_VALIDATE_SUBSTRING_SPEC_COPY
which won't accept a simple coercion and requires a char *. There
were also some calls to scm_mem2string() and SCM_STRING_CHARS()
that needed to be fixed.
available and appropriate. This fixes some type problems on
systems (recent linux) where int wasn't quite right. If
HAVE_SOCKLEN_T isn't defined, then revert to int. This is a
short-term fix, local to socket.c, and will be addressed more
generally in the next major release.
(ipv6_net_to_num): Change the argument type from "const char *" to
"const unsigned char *" to match the sign of the s6_addr type.
(ipv6_num_to_net): Change the argument type from "const char *" to
"const unsigned char *" to match its usage.
(s_scm_inet_pton): Use unsigned type when calling ipv6_net_to_num.
(s_scm_inet_ntop): Use unsigned type when calling ipv6_net_to_num.
(s_scm_getsockopt): Use scm_socklen_t rather than int.
(s_scm_accept): Use socklen_t rather than int.
(s_scm_getsockname): Use socklen_t rather than int.
(s_scm_getpeername): Use socklen_t rather than int.
(s_scm_recvfrom): Use socklen_t rather than int.
L_ctermid for the ctermid() result rather than passing NULL and
expecting a static pointer. This fixes a problem caused when
glibc sets a __nonnull attribute for ctermid() whenever
__USE_XOPEN is defined.