]> git.ipfire.org Git - thirdparty/systemd.git/commit
copy: introduce COPY_VERIFY_LINKED flag
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 15 Feb 2024 10:37:43 +0000 (19:37 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 15 Feb 2024 18:48:18 +0000 (03:48 +0900)
commit72ef2a617f43e156dbe15e9fa28b84224c2969ad
tree6e003538e38f7f0adfe422810560950cdd5a7208
parentcb0d5f73e600c70026b031cd4046487582ac5452
copy: introduce COPY_VERIFY_LINKED flag

If the flag is set, then copy_file() and friends check if the source
file still exists when the copy operation finished.
src/shared/copy.c
src/shared/copy.h
src/test/test-copy.c