Re: [U-Boot] [PATCH v4 06/13] Replace space and tab checks with isblank

2011-08-24 Thread Jason Hobbs
On Tue, Aug 23, 2011 at 05:42:59PM -0400, Mike Frysinger wrote: > On Tuesday, August 23, 2011 17:06:54 Jason Hobbs wrote: > > - while (*nn == ' ' || *nn == '\t') > > + while (isblank(*nn)) > > nn++; > > at least for these "walking forward" ones, they could be replaced with: >

Re: [U-Boot] [PATCH v4 06/13] Replace space and tab checks with isblank

2011-08-23 Thread Mike Frysinger
On Tuesday, August 23, 2011 17:06:54 Jason Hobbs wrote: > - while (*nn == ' ' || *nn == '\t') > + while (isblank(*nn)) > nn++; at least for these "walking forward" ones, they could be replaced with: nn += strspn(nn, " \t"); -mike signature.asc Description: This is a

[U-Boot] [PATCH v4 06/13] Replace space and tab checks with isblank

2011-08-23 Thread Jason Hobbs
These are various places I found that checked for conditions equivalent to isblank. Signed-off-by: Jason Hobbs --- new in v4 board/hymod/env.c|9 + common/command.c |9 + common/main.c|5 +++-- drivers/b