Re: [U-Boot] [PATCH 1/2] tools: mkenvimage: Fix reading from slow pipe

2019-07-18 Thread Tom Rini
On Sun, Jun 30, 2019 at 02:45:00AM +0100, Andre Przywara wrote: > It is perfectly fine for the read(2) syscall to return with less than > the requested number of bytes read (short read, see the "RETURN VALUE" > section of the man page). This typically happens with slow input > (keyboard, network)

Re: [U-Boot] [PATCH 1/2] tools: mkenvimage: Fix reading from slow pipe

2019-06-30 Thread Alexander Dahl
Hello Andre, Am Sonntag, 30. Juni 2019, 02:45:00 CEST schrieb Andre Przywara: > It is perfectly fine for the read(2) syscall to return with less than > the requested number of bytes read (short read, see the "RETURN VALUE" > section of the man page). This typically happens with slow input > (keybo

[U-Boot] [PATCH 1/2] tools: mkenvimage: Fix reading from slow pipe

2019-06-29 Thread Andre Przywara
It is perfectly fine for the read(2) syscall to return with less than the requested number of bytes read (short read, see the "RETURN VALUE" section of the man page). This typically happens with slow input (keyboard, network) or with complex pipes. So far mkenvimage expects the exact number of req