summaryrefslogtreecommitdiff
path: root/doc/ref/api-io.texi
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2011-04-27 20:34:08 +0200
committerLudovic Courtès <ludo@gnu.org>2011-04-27 20:34:08 +0200
commita42d79711b2366861cf4e6fa884eae709617121d (patch)
treeb2ca3b75961543fdae58e1fab35dfd72c004f40c /doc/ref/api-io.texi
parentd84783a80c186b0b13e3aeb206384bb198bf41e6 (diff)
downloadguile-a42d79711b2366861cf4e6fa884eae709617121d.tar.gz
Gracefully handle unterminated UTF-8 sequences instead of hitting an `assert'.
* libguile/ports.c (get_codepoint): Return EILSEQ when OUTPUT_SIZE == 0. * test-suite/tests/ports.test ("string ports"): Add 2 tests for unterminated sequences.
Diffstat (limited to 'doc/ref/api-io.texi')
0 files changed, 0 insertions, 0 deletions