diff options
author | Andy Wingo <wingo@pobox.com> | 2016-04-26 22:13:26 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2016-04-26 22:37:04 +0200 |
commit | 796676028b5812b556decf5cad1f3ce3992ac25f (patch) | |
tree | 91a0938a7d8fba06852dd8d3e83f01fe381bec08 /libguile/read.c | |
parent | abf90c4e72fd7cd6573f77b06239e2e6c2f47fce (diff) | |
download | guile-796676028b5812b556decf5cad1f3ce3992ac25f.tar.gz |
Remove scm_fill_input_unlocked
* libguile/ports.h (scm_fill_input_unlocked): Remove.
* libguile/ports.c (scm_fill_input): Rename from
scm_fill_input_unlocked. Adapt callers.
* libguile/r6rs-ports.c (scm_get_bytevector_some): Adapt.
* libguile/read.c (scm_i_scan_for_encoding): Adapt.
Diffstat (limited to 'libguile/read.c')
-rw-r--r-- | libguile/read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/read.c b/libguile/read.c index bcbf37ee4..ca9694f89 100644 --- a/libguile/read.c +++ b/libguile/read.c @@ -2073,7 +2073,7 @@ scm_i_scan_for_encoding (SCM port) if (scm_port_buffer_can_take (buf) == 0) { /* We can use the read buffer, and thus avoid a seek. */ - buf = scm_fill_input_unlocked (port); + buf = scm_fill_input (port); bytes_read = scm_port_buffer_can_take (buf); if (bytes_read > SCM_ENCODING_SEARCH_SIZE) bytes_read = SCM_ENCODING_SEARCH_SIZE; |