1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 04:10:18 +02:00
guile/module
Andreas Rottmann b6a66c21fc Improve R6RS conformance wrt. conditions in the I/O libraries
* module/rnrs/io/ports.scm (open-file-output-port): Handle `no-fail'
  file option.
  (with-i/o-filename-conditions): Use `with-throw-handler' instead of `catch'.
  (with-i/o-port-error,
  with-textual-output-conditions. with-textual-input-conditions): New
  exception-conversion helpers.
  (put-char, put-datum, put-string, display): Use
  `with-textual-output-conditions' instead of `with-i/o-encoding-error'
  to get proper conditions in case of write errors.
  (get-char, get-datum, get-line, get-string-all, lookahead-char):
  Likewise, for the input case.

* test-suite/tests/r6rs-ports.test (pass-if-condition, test-file,
  make-failing-port): New helpers.
  ("8.2.10 Output ports"): Add some tests for `open-file-output-port'.
  ("8.2.9 Textual Input"): Add tests read error conditions.
  ("8.2.12 Textual Output"): Add tests for write error conditions.
  ("8.3 Simple I/O"): Add tests for conditions, `call-with-input-file'
  and `call-with-output-file'.
2011-05-14 19:29:26 +02:00
..
ice-9 all deprecated routines emit warnings 2011-05-12 13:07:19 +02:00
language fix some duplication in object tables 2011-05-08 22:55:05 +02:00
oop Allow GOOPS getters to add methods to primitive generics 2011-02-14 20:33:11 +01:00
rnrs Improve R6RS conformance wrt. conditions in the I/O libraries 2011-05-14 19:29:26 +02:00
scripts Remove statements about scripts/* that are no longer true 2011-03-25 19:45:14 +00:00
srfi fix srfi-1 map-in-order definition 2011-05-07 11:31:38 +02:00
sxml sxml->xml fix 2010-12-02 22:24:26 +01:00
system ignore SIGPIPE in (system repl server) 2011-04-11 10:13:48 +02:00
texinfo fix stexi->html double translation 2011-03-26 13:33:40 +01:00
web web server more assiduous about closing ports 2011-02-24 11:10:49 +01:00
Makefile.am add (ice-9 command-line) 2011-04-14 16:06:07 +02:00
rnrs.scm Enhance transcoder-related functionality of `(rnrs io ports)' 2011-03-13 23:14:43 +01:00
statprof.scm add gcprof 2011-05-05 11:43:12 +02:00
texinfo.scm Remove unused top-level variables. 2010-01-11 01:21:14 +01:00