[U-Boot] [PATCH v5 04/13] Add isblank
Wolfgang Denk
wd at denx.de
Mon Oct 17 22:17:35 CEST 2011
Dear "Jason Hobbs",
In message <1314805054-16250-5-git-send-email-jason.hobbs at calxeda.com> you wrote:
> Existing ctype checks are implemented using a 256 byte lookup table,
> allowing each character to be in any of 8 character classes. Since there
> are 8 existing character classes without the blank class, I implemented
> isblank without using the lookup table. Since there are only two blank
> characters - tab and space - this is a more reasonable approach than
> doubling the size of the lookup table to accommodate one more class.
>
> Signed-off-by: Jason Hobbs <jason.hobbs at calxeda.com>
> ---
> new in v4
>
> changes in v5:
> - none
>
> include/linux/ctype.h | 6 ++++++
> 1 files changed, 6 insertions(+), 0 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Comparing information and knowledge is like asking whether the
fatness of a pig is more or less green than the designated hitter
rule." - David Guaspari
More information about the U-Boot
mailing list