]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Remove mkdir_p()
authorAlberto Leiva Popper <ydahhrk@gmail.com>
Tue, 8 Oct 2024 23:14:56 +0000 (17:14 -0600)
committerAlberto Leiva Popper <ydahhrk@gmail.com>
Tue, 8 Oct 2024 23:37:30 +0000 (17:37 -0600)
commit8ca22da436e8f21d951e4619d4a3e1ef993e6d5e
tree9ea342adbab986dcec6ec8605458c15b95f90bbd
parentb9e82b1d364789c9b6f6ad2be65c54d9b89d9a8a
Remove mkdir_p()

It induced too many redundant mkdir() and stat() system calls.

It's now best to use mkdir() directly, since the cache structure no
longer involves long and pointless directory chains.

Incidentally fixes a missing mkdir("cache/fallback"), which was
preventing the cache from backing up any valid RPPs.
src/cache.c
src/common.c
src/common.h
src/config.c
src/file.c
src/file.h
src/http.c
src/rrdp.c
src/rsync.c
test/cache_test.c
test/rrdp_update_test.c