diff options
author | Levente Polyak <anthraxx@archlinux.org> | 2024-01-05 13:38:19 +0100 |
---|---|---|
committer | Levente Polyak <anthraxx@archlinux.org> | 2024-01-07 02:38:34 +0100 |
commit | 0e538cf4983f27548077c0a2a272ecd8deebacb1 (patch) | |
tree | 850aba2689c6e0b924f5f99eea4cb2a39e5b6ee3 /doc/man/pkgctl-search.1.asciidoc | |
parent | 4673ad6c89bbdca632b22edfc2ef35486b7a635b (diff) | |
download | devtools-0e538cf4983f27548077c0a2a272ecd8deebacb1.tar.xz |
fix(util): open lock file in append mode to avoid overwriting files
Previously if we opened a lock on an existing file with useful content
we overwrote it with an empty file. This is obviously not desired, hence
open the file handle in append mode preserving its content.
Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
Diffstat (limited to 'doc/man/pkgctl-search.1.asciidoc')
0 files changed, 0 insertions, 0 deletions