On Wed, 26 Aug 2026 11:55:37 +0200, Ahmad Fatoum wrote:
> pread_full() loops until the requested size was read, but reads from
> the same offset on every iteration, so a short read is followed by
> re-reading the same data instead of the remainder.
> 
> Advance the offset along with the buffer pointer.
> 
> 
> [...]

Applied, thanks!

[1/2] libfile: advance offset in pread_full() on short reads
      https://git.pengutronix.de/cgit/barebox/commit/?id=ab863d035c6d (link may 
not be stable)
[2/2] libfile: allow fixup_path_case() to resolve directories
      https://git.pengutronix.de/cgit/barebox/commit/?id=edf68574ef1f (link may 
not be stable)

Best regards,
-- 
Sascha Hauer <[email protected]>


Reply via email to