summaryrefslogtreecommitdiff
path: root/klibc
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-11-12 07:17:33 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:06:23 -0700
commitdc5cecf659aac8686bb7db1d047456fdef281ab1 (patch)
treea0f9838b3f95f0c1f9ae997022edaf2e5c11490e /klibc
parent8d8172514d8c29cd5b2c51a0825268b823eb8294 (diff)
[PATCH] fix bug in klibc's isspace function.
Diffstat (limited to 'klibc')
-rw-r--r--klibc/klibc/include/ctype.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/klibc/klibc/include/ctype.h b/klibc/klibc/include/ctype.h
index 2cb90a45d3..e1a25f3693 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)