diff options
author | Andy Wingo <wingo@pobox.com> | 2016-06-21 11:06:25 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2016-06-21 11:06:25 +0200 |
commit | 5d9516637b68ddce3c5246a9a883e73cdcbc9097 (patch) | |
tree | 71b7f6a52c2a8e223bd02106e2ecfd5208e35d9a /module/rnrs.scm | |
parent | d545e4551dbc1c41babf5b9fd972fdeff62378a3 (diff) | |
download | guile-5d9516637b68ddce3c5246a9a883e73cdcbc9097.tar.gz |
Implement R6RS output-port-buffer-mode
* module/rnrs/io/ports.scm (r6rs-open): Set buffer-mode on new port.
(output-port-buffer-mode): Implement and export.
* module/rnrs.scm (rnrs): Export output-port-buffer-mode
* test-suite/tests/r6rs-ports.test (test-output-file-opener): Add
tests.
Diffstat (limited to 'module/rnrs.scm')
-rw-r--r-- | module/rnrs.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/rnrs.scm b/module/rnrs.scm index a132c5364..e4a06faf5 100644 --- a/module/rnrs.scm +++ b/module/rnrs.scm @@ -183,7 +183,7 @@ open-file-input-port open-file-output-port open-file-input/output-port make-custom-textual-output-port call-with-string-output-port - flush-output-port put-string + output-port-buffer-mode flush-output-port put-string get-char get-datum get-line get-string-all get-string-n get-string-n! lookahead-char put-char put-datum put-string |