diff options
author | Mark H Weaver <mhw@netris.org> | 2019-05-01 05:20:36 -0400 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2019-05-23 17:49:10 +0200 |
commit | 2bfa4f73f188e4ad2bde22594d5173e71c1d3d2f (patch) | |
tree | ed8a8c8cb936d525bca7c0dd833772f62ec969c8 /libguile/strings.c | |
parent | a3a726c868da81843a96d7107c4042e654700aa6 (diff) | |
download | guile-2bfa4f73f188e4ad2bde22594d5173e71c1d3d2f.tar.gz |
put-u8: Always write a single byte, regardless of the port encoding.
Previously, 'put-u8' used textual I/O to write a single character,
relying on the usual practice of setting the port encoding to ISO-8859-1
for binary ports.
* libguile/r6rs-ports.c (scm_put_u8): Use 'scm_c_write', not 'scm_putc'.
Diffstat (limited to 'libguile/strings.c')
0 files changed, 0 insertions, 0 deletions