]> git.seodisparate.com - SimpleArchiver/commit
Fix case when archiving from read-only directory
authorStephen Seo <seo.disparate@gmail.com>
Wed, 25 Dec 2024 12:16:52 +0000 (21:16 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Wed, 25 Dec 2024 12:16:52 +0000 (21:16 +0900)
commit9f682a9fe3c2541f91268ba3b0f0e8982f50ebe5
tree372715c4bf2290fa0b022b3bc7815948d9e66151
parentb81cb5f000dc39863a159cab500ee25ab11f9597
Fix case when archiving from read-only directory

A temporary file is usually created to store compressed archive
chunks/files which is located where the files are. This commit
falls-back to using `tmpfile()` if the first attempt to create a
temporary file fails.
src/archiver.c