diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-10-02 23:25:41 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-10-02 23:25:41 -0400 |
commit | 203b974cdde83e876ba665df47928868278581ae (patch) | |
tree | 795716c8418ddaf68c86dc1bd7df00086208519e /Makefile | |
parent | add a --debug option (diff) | |
download | build-docbook-catalog-203b974cdde83e876ba665df47928868278581ae.tar.gz build-docbook-catalog-203b974cdde83e876ba665df47928868278581ae.tar.bz2 build-docbook-catalog-203b974cdde83e876ba665df47928868278581ae.zip |
make file updates atomic
While we have locks against other invocations of build-docbook-catalog
to keep them from clobbering each other (write locks), we didn't have
any locks for users of the databases (read locks). Rewriting the files
in place causes those readers to get partially written files and then
fail (due to missing entries).
Closes: https://bugs.gentoo.org/773517
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions