diff options
author | Andy Wingo <wingo@pobox.com> | 2011-03-03 12:46:49 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2011-03-03 12:57:46 +0100 |
commit | d900843c72ee1f34d79527deb38787e581592cf5 (patch) | |
tree | c2aae2aa08a015f615b3f2fab54a488ceb7d533b /module/system/repl/repl.scm | |
parent | 8d795c83d463e893cdac16733fd42bef809c0d79 (diff) | |
download | guile-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