Author: uwe Date: 2008-04-12 22:09:46 +0200 (Sat, 12 Apr 2008) New Revision: 3238
Modified: trunk/payloads/libpayload/libc/ctype.c Log: Correct upper boundary for isxdigit.
Signed-off-by: Ulf Jordan jordan@chalmers.se Acked-by: Uwe Hermann uwe@hermann-uwe.de
Modified: trunk/payloads/libpayload/libc/ctype.c =================================================================== --- trunk/payloads/libpayload/libc/ctype.c 2008-04-11 20:16:24 UTC (rev 3237) +++ trunk/payloads/libpayload/libc/ctype.c 2008-04-12 20:09:46 UTC (rev 3238) @@ -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)