From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andre Przywara Date: Sun, 30 Jun 2019 02:44:59 +0100 Subject: [U-Boot] [PATCH 0/2] tools: mkenvimage: Fixes for reading from pipes Message-ID: <20190630014501.16027-1-andre.przywara@arm.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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(-) -- 2.14.5