[PATCH] libbb: Converted safe_read to safe_write format
Denys Vlasenko
vda.linux at googlemail.com
Wed Oct 9 12:37:05 UTC 2019
On Sun, Sep 15, 2019 at 6:14 PM Martin Lewis <martin.lewis.x84 at gmail.com> wrote:
>
> Changed safe_read to be symmetrical to safe_write, it shall
> never return EINTR because it calls read multiple times,
> the error is considered transient.
Applied except this part:
> Also, as seen in gnu coreutils, handle an edge case where count is bigger
> than INT_MAX by truncating it in order to avoid bugs on various linux platforms.
More information about the busybox
mailing list