This site is a static rendering of the Trac instance that was used by R7RS-WG1 for its work on R7RS-small (PDF), which was ratified in 2013. For more information, see Home.

Ticket 254: Shall we make open-output-file overwrite existing files?

2011-09-11 07:50:50
WG1 - Core
alexshinn
major
cowan
wontfix
source
closed
2011-08-07 05:38:12
defect

As there'll most probably be file-specs in the big language, we could go ahead and just specify a behavior for "open-output-file" on already-existing files (proposal: overwrite). Other behaviors could then be specified with what can be found in the large report. --Denis Washington

Racket, Chez, Ikarus, Ypsilon, Mosh, Scheme 9 complain if the file exists.

Gauche, MIT, Gambit, Chicken, Bigloo, Scheme48/scsh, Guile, Kawa, SISC, Chibi, SCM, Larceny, IronScheme, SigScheme overwrite the file.

resolutionwontfix
statusnewclosed

WG1 rejected this proposal, leaving the behavior unspecified.