summaryrefslogtreecommitdiff
path: root/doc/ref/api-data.texi
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2011-01-26 00:24:34 +0100
committerLudovic Courtès <ludo@gnu.org>2011-01-26 00:29:51 +0100
commita2c36371ce3de246bdb892afd50915ecf450df47 (patch)
tree2567b2edf7f203725492b4bac834e187a7640621 /doc/ref/api-data.texi
parentcc540d0bbd4595be32d760bfd6e9e5ec3cdbd3d3 (diff)
downloadguile-a2c36371ce3de246bdb892afd50915ecf450df47.tar.gz
Rewrite `read-line' in terms of `scm_getc'.
As a result `read-line' handles decoding and decoding errors the same way as `scm_getc'. It's also simpler and free of `malloc' calls. * libguile/rdelim.c (scm_do_read_line): Remove. (scm_read_line): Rewrite as a loop that calls `scm_getc'. * test-suite/tests/rdelim.test: New file. * test-suite/Makefile.am (SCM_TESTS): Add `tests/rdelim.test'.
Diffstat (limited to 'doc/ref/api-data.texi')
0 files changed, 0 insertions, 0 deletions