On Fri, 23 Jan 2026 22:58:13 +0100, Ahmad Fatoum wrote:
> libfile: copy_fd: fix use of zero to mean all content
>
> The function documents that a size of zero means that all data is
> copied, but this is currently broken: On first iteration both size and
> copied will be zero, so now is set to zero leading to an early exit
> without any data copied at all.
>
> [...]
Applied, thanks!
[1/1] fixup! libfile: copy_fd: add size argument
https://git.pengutronix.de/cgit/barebox/commit/?id=8342363fe8e9 (link may
not be stable)
Best regards,
--
Sascha Hauer <[email protected]>