From: greg@kroah.com Date: Wed, 12 Nov 2003 15:17:33 +0000 (-0800) Subject: [PATCH] fix bug in klibc's isspace function. X-Git-Tag: 006~42 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc5cecf659aac8686bb7db1d047456fdef281ab1;p=systemd [PATCH] fix bug in klibc's isspace function. --- diff --git a/klibc/klibc/include/ctype.h b/klibc/klibc/include/ctype.h index 2cb90a45..e1a25f36 100644 --- a/klibc/klibc/include/ctype.h +++ b/klibc/klibc/include/ctype.h @@ -88,7 +88,7 @@ __ctype_inline int ispunct(int __c) __ctype_inline int isspace(int __c) { - return __ctypes[__c+1] & __ctype_space; + return __ctypes[__c] & __ctype_space; } __ctype_inline int isupper(int __c)