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:
nn +=
These are various places I found that checked for conditions equivalent
to isblank.
Signed-off-by: Jason Hobbs jason.ho...@calxeda.com
---
new in v4
board/hymod/env.c|9 +
common/command.c |9 +
common/main.c
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
3 matches
Mail list logo