* socket.c (scm_inet_aton, scm_inet_pton): Convert SCM strings to
authorMarius Vollmer <mvo@zagadka.de>
Thu, 12 Aug 2004 17:43:17 +0000 (17:43 +0000)
committerMarius Vollmer <mvo@zagadka.de>
Thu, 12 Aug 2004 17:43:17 +0000 (17:43 +0000)
commit396e5506d6c7ba9e669856cae97445e5c307ba34
tree89e0efdf73cf8d78c8ac9e430569757d923ab9c9
parentddae95259d1875ea0ea5e3afc2187e325946b80a
* socket.c (scm_inet_aton, scm_inet_pton): Convert SCM strings to
locale strings instead of accessing their internals.
(scm_recv, scm_send, scm_recvfrom, scm_sendto): Use
SCM_I_STRING_CHARS and SCM_I_STRING_LENGTH instead of
SCM_STRING_CHARS and SCM_STRING_LENGTH.

* socket.c, rw.c, deprecated.h, validate.h
(SCM_VALIDATE_STRING_COPY): Deprecated.  Replaced all uses with
SCM_VALIDATE_STRING plus SCM_I_STRING_CHARS or
scm_to_locale_string, etc.
(SCM_VALIDATE_SUBSTRING_SPEC_COPY): Deprecated.  Replaced as
above, plus scm_i_get_substring_spec.
libguile/socket.c