diff options
author | Ludovic Courtès <ludo@gnu.org> | 2011-04-27 20:34:08 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2011-04-27 20:34:08 +0200 |
commit | a42d79711b2366861cf4e6fa884eae709617121d (patch) | |
tree | b2ca3b75961543fdae58e1fab35dfd72c004f40c /doc/ref/api-io.texi | |
parent | d84783a80c186b0b13e3aeb206384bb198bf41e6 (diff) | |
download | guile-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