diff options
author | Michael Gran <spk121@yahoo.com> | 2009-08-23 06:50:45 -0700 |
---|---|---|
committer | Michael Gran <spk121@yahoo.com> | 2009-08-23 09:29:45 -0700 |
commit | 587a33556fdef90025c1b7d4d172af649c8ebba8 (patch) | |
tree | 97792a8e7e1a2b9cb05596df2332294a6c316671 /libguile/goops.c | |
parent | 27646f414e9350c2bf9f35982082bcabfb475c5d (diff) | |
download | guile-587a33556fdef90025c1b7d4d172af649c8ebba8.tar.gz |
Modify socket and time functions for wide strings
* libguile/socket.c (scm_recv): receive the message without holding the
stringbuf writing lock
(scm_send): try to narrow a string before using it
* libguile/stime.c (strftime): convert string to UTF-8 so that it can
be safely passed to strftime
(strptime): convert input string to UTF-8 so that it can be safely
passed through strptime
* libguile/strings.c (narrow_stringbuf): new function
(scm_i_try_narrow_string): new function
* libguile/strings.h: new declaration for scm_i_try_narrow_string
Diffstat (limited to 'libguile/goops.c')
0 files changed, 0 insertions, 0 deletions