From fc57ba799603987c3da7de5e36a1a5a2e2549cc2 Mon Sep 17 00:00:00 2001 From: Gustavo Massaccesi Date: Wed, 7 Jan 2015 08:45:07 -0300 Subject: [PATCH] Fix typo in doc of call-with-atomic-output-file --- pkgs/racket-doc/scribblings/reference/filesystem.scrbl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/racket-doc/scribblings/reference/filesystem.scrbl b/pkgs/racket-doc/scribblings/reference/filesystem.scrbl index 83b6946c2b..d1da589c00 100644 --- a/pkgs/racket-doc/scribblings/reference/filesystem.scrbl +++ b/pkgs/racket-doc/scribblings/reference/filesystem.scrbl @@ -1134,9 +1134,9 @@ to avoid problems due to concurrent readers of @racket[file]. The @racket[proc] function is called with an output port for the temporary file, plus the path of the temporary file. The result of -@racket[proc] is the result of @racket[call-with-atomic-output]. +@racket[proc] is the result of @racket[call-with-atomic-output-file]. -The @racket[call-with-atomic-output] function arranges to delete +The @racket[call-with-atomic-output-file] function arranges to delete temporary files on exceptions. Windows prevents programs from deleting or replacing files that are @@ -1144,7 +1144,7 @@ open, but it allows renaming of open files. Therefore, on Windows, @racket[call-with-atomic-output-file] creates a second temporary file @racket[_extra-tmp-file], renames @racket[file] to @racket[_extra-tmp-file], renames the temporary file written by -@racket[proc] to @racket[p], and finally deletes +@racket[proc] to @racket[file], and finally deletes @racket[_extra-tmp-file].}