diff options
author | Ludovic Courtès <ludo@gnu.org> | 2024-05-13 12:02:30 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-05-13 16:31:34 +0200 |
commit | 7757fdd491862fa5c33f1f894503346b89898a01 (patch) | |
tree | 52f5ae8916c7eca875e917f56c43007a48d3c7f8 /nix/libutil/serialise.cc | |
parent | be235a3092c2b1df413bab02f345050f6b0f15fd (diff) | |
download | guix-7757fdd491862fa5c33f1f894503346b89898a01.tar.gz guix-7757fdd491862fa5c33f1f894503346b89898a01.zip |
daemon: Loop over ‘copy_file_range’ upon short writes.
Fixes <https://issues.guix.gnu.org/70877>.
* nix/libutil/util.cc (copyFile): Loop over ‘copy_file_range’ instead of
throwing upon short write.
Reported-by: Ricardo Wurmus <rekado@elephly.net>
Change-Id: Id7b8a65ea59006c2d91bc23732309a68665b9ca0
Diffstat (limited to 'nix/libutil/serialise.cc')
0 files changed, 0 insertions, 0 deletions