You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like it would be better to use call-with-atomic-output-file here: if somehow you ended up with a partially-written file, it seems like it would be very painful to debug.
The text was updated successfully, but these errors were encountered:
While looking at a Discourse thread, I noticed that
make-dir-store
uses(with-output-to-file #:exists 'replace ...)
:web-server/web-server-lib/web-server/stuffers/store.rkt
Lines 9 to 13 in 87a1e58
It seems like it would be better to use
call-with-atomic-output-file
here: if somehow you ended up with a partially-written file, it seems like it would be very painful to debug.The text was updated successfully, but these errors were encountered: