Re: [U-Boot] [PATCHv5 3/7] mkenvimage: More error handling

2012-03-27 Thread Anatolij Gustschin
On Sat, 14 Jan 2012 00:27:36 +0100 David Wagner wrote: > Verbosly fail if the target environment size or the padding byte are badly > formated. > > Verbosly fail if something bad happens when reading from standard input. > > Signed-off-by: David Wagner > --- > tools/mkenvimage.c | 31 ++

Re: [U-Boot] [PATCHv5 3/7] mkenvimage: More error handling

2012-01-14 Thread Mike Frysinger
On Friday 13 January 2012 18:27:36 David Wagner wrote: > --- a/tools/mkenvimage.c > +++ b/tools/mkenvimage.c > > +long int xstrtol(const char *s) long term, we'll prob want to add a host set of helper libs like xmalloc and xstrdup and xstrtol so we don't have to copy & paste between tools ... f