.
original commit: bc4bb3c7e5ae52d1c3784d3b68d72a5587f19dfd
This commit is contained in:
parent
1648706cd8
commit
8a100e83c9
|
@ -384,7 +384,7 @@
|
|||
;; (preserves permissions, etc), write to the temp file,
|
||||
;; then move (atomicly) the temp file to the normal name.
|
||||
(let* ([tmp-file (make-temporary-file
|
||||
(build-path pref-dir "TMPPREF~a")
|
||||
(build-path (regexp-replace "~" pref-dir "~~") "TMPPREF~a")
|
||||
(and (file-exists? pref-file) pref-file))])
|
||||
(with-output-to-file tmp-file
|
||||
(lambda ()
|
||||
|
|
Loading…
Reference in New Issue
Block a user