Files
src/usr.bin/xinstall
Dag-Erling Smørgrav 0fb940fd63 install: Expect EINTR while copying
Both copy_file_range() and read() / write() in our fallback loop can be
interrupted before copying anything at all, in which case it returns -1
and sets errno to EINTR.  If that happens, we should retry, not fail.

While here, drop the size argument from copy() (we always want to copy
the entire file anyway) and add test cases which exercise the metalog
and digest functionality.

PR:		293028
MFC after:	1 week
Reviewed by:	kevans
Differential Revision:	https://reviews.freebsd.org/D55168
2026-02-11 17:24:50 +01:00
..
2026-02-11 17:24:50 +01:00
2024-04-17 04:03:31 +02:00
2026-02-11 17:24:50 +01:00