[U-Boot] [PATCH 0/2] tools: mkenvimage: Fixes for reading from pipes

Tom Rini trini at konsulko.com
Sun Jun 30 14:40:44 UTC 2019


On Sun, Jun 30, 2019 at 02:44:59AM +0100, Andre Przywara wrote:

> This fixes two issues I had when trying to create an envimage from a
> more complex pipe:
> - The read process stops when the read(2) syscall returns less bytes
>   than requested.
> - Specifying an input filename expects this to be a regular file.
> 
> See the respective commit messages for more details.
> 
> Thanks!
> Andre
> 
> Andre Przywara (2):
>   tools: mkenvimage: Fix reading from slow pipe
>   tools: mkenvimage: Always consider non-regular files
> 
>  tools/mkenvimage.c | 71 ++++++++++++++++--------------------------------------
>  1 file changed, 21 insertions(+), 50 deletions(-)

These all look fine but in the interest of avoiding unintended
consequences I'm going to pull these in after v2019.07 as they're
long-standing bugs rather than regressions being fixed, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190630/a2f17ee2/attachment.sig>


More information about the U-Boot mailing list