Re: [U-Boot] [PATCH 1/8] fs/fs.c: read up to EOF when len would read past EOF

2015-07-01 Thread Marcel Ziswiler
On 2 July 2015 07:46:19 CEST, Marek Vasut wrote: >So this behaves like read(2) now, right ? Exactly for convenient use in U-Boot scripts. -- Sent from my Android device with K-9 Mail. Please excuse my brevity. ___ U-Boot mailing list U-Boot@lists.de

Re: [U-Boot] [PATCH 1/8] fs/fs.c: read up to EOF when len would read past EOF

2015-07-01 Thread Marek Vasut
On Thursday, July 02, 2015 at 01:04:46 AM, Marcel Ziswiler wrote: > From: Max Krummenacher > > http://lists.denx.de/pipermail/u-boot/2012-September/134347.html > allows for reading files in chunks from the shell. > > When this feature is used to read past the end of a file an error > was returne

[U-Boot] [PATCH 1/8] fs/fs.c: read up to EOF when len would read past EOF

2015-07-01 Thread Marcel Ziswiler
From: Max Krummenacher http://lists.denx.de/pipermail/u-boot/2012-September/134347.html allows for reading files in chunks from the shell. When this feature is used to read past the end of a file an error was returned instead of returning the bytes read up to the end of file. Thus the following