lehitoskin / ivy

Ivy, the Taggable Image Viewer
GNU General Public License v3.0
16 stars 3 forks source link

Temporary Files #97

Closed lehitoskin closed 6 years ago

lehitoskin commented 6 years ago

Instead of modifying files in-place or generating temporary files manually, utilize make-temporary-file instead. This way we will have a little more certainty that there will be no other thread or process trying to write to the assigned path.

lehitoskin commented 6 years ago

Also relevant: call-with-atomic-output-file