]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Create tmp/ before CACHEDIR.TAG
authorAlberto Leiva Popper <ydahhrk@gmail.com>
Wed, 13 Dec 2023 22:24:15 +0000 (16:24 -0600)
committerAlberto Leiva Popper <ydahhrk@gmail.com>
Wed, 13 Dec 2023 22:25:53 +0000 (16:25 -0600)
commit66fcc5c6db1f3b2d240945ec08d7a51e121300ab
tree9cdc53ff571678a1575b93a7c4b2cdf2bc64b974
parent31414cd2ab6634c53a5ca31531674a82bf778d1c
Create tmp/ before CACHEDIR.TAG

tmp/'s creation is (C's equivalent of) a `mkdir -p`. It ensures the
cache directory exists by the time Fort attempts to create CACHEDIR.TAG.
src/cache/local_cache.c