[coreboot] [PATCH] libpayload: isxdigit boundary
Ulf Jordan
jordan at chalmers.se
Sat Apr 12 09:54:22 CEST 2008
Attached patch fixes the upper boundary in isxdigit.
/ulf
-------------- next part --------------
Correct upper boundary for isxdigit.
Signed-off-by: Ulf Jordan <jordan at chalmers.se>
Index: libc/ctype.c
===================================================================
--- libc/ctype.c (revision 3237)
+++ libc/ctype.c (arbetskopia)
@@ -91,7 +91,7 @@
int isxdigit(int c)
{
- return isdigit(c) || (tolower(c) >= 'a' && tolower(c) <= 'z');
+ return isdigit(c) || (tolower(c) >= 'a' && tolower(c) <= 'f');
}
int tolower(int c)
More information about the coreboot
mailing list