summaryrefslogtreecommitdiff
path: root/module/system/repl/repl.scm
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2011-03-03 12:46:49 +0100
committerAndy Wingo <wingo@pobox.com>2011-03-03 12:57:46 +0100
commitd900843c72ee1f34d79527deb38787e581592cf5 (patch)
treec2aae2aa08a015f615b3f2fab54a488ceb7d533b /module/system/repl/repl.scm
parent8d795c83d463e893cdac16733fd42bef809c0d79 (diff)
downloadguile-d900843c72ee1f34d79527deb38787e581592cf5.tar.gz
fix encoding scanning for non-seekable ports
* libguile/read.c (scm_i_scan_for_encoding): If possible, just use the read buffer for the encoding scan, and avoid seeking. Fixes `(open-input-file "/dev/urandom")', because /dev/urandom can't be seeked backwards.
Diffstat (limited to 'module/system/repl/repl.scm')
0 files changed, 0 insertions, 0 deletions