]> git.ipfire.org Git - thirdparty/git.git/commit
reftable: handle interrupted reads
authorPatrick Steinhardt <ps@pks.im>
Mon, 11 Dec 2023 09:07:34 +0000 (10:07 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 11 Dec 2023 15:23:16 +0000 (07:23 -0800)
commit917a2b3ce990717ccce5ff372766d9ffd41239f6
treea9f8fe27ce529fa1da78c4f959815b7465ef70ec
parente32b8ece640fc700c5a74dd53e6cae8b1a893a6d
reftable: handle interrupted reads

There are calls to pread(3P) and read(3P) where we don't properly handle
interrupts. Convert them to use `pread_in_full()` and `read_in_full()`,
respectively.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
reftable/blocksource.c
reftable/stack.c