Fix docs for call-with-atomic-output-file (#1192)

This commit is contained in:
Eric Dobson 2016-04-16 08:40:36 -07:00 committed by Matthew Flatt
parent 123755437c
commit 8fccc07259

View File

@ -1197,7 +1197,7 @@ needed.}
Opens a temporary file for writing in the same directory as
@racket[file], calls @racket[proc] to write to the temporary file, and
then atomically moves the temporary file in place of @racket[proc].
then atomically moves the temporary file in place of @racket[file].
The atomic move simply uses @racket[rename-file-or-directory] on Unix
and Mac OS X, but it uses an extra rename step (see below) on Windows
to avoid problems due to concurrent readers of @racket[file].