
17 Oct
2011
17 Oct
'11
10:17 p.m.
Dear "Jason Hobbs",
In message 1314805054-16250-5-git-send-email-jason.hobbs@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@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@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