diff options
author | greg@kroah.com <greg@kroah.com> | 2003-11-12 07:17:33 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:06:23 -0700 |
commit | dc5cecf659aac8686bb7db1d047456fdef281ab1 (patch) | |
tree | a0f9838b3f95f0c1f9ae997022edaf2e5c11490e | |
parent | 8d8172514d8c29cd5b2c51a0825268b823eb8294 (diff) |
[PATCH] fix bug in klibc's isspace function.
-rw-r--r-- | klibc/klibc/include/ctype.h | 2 |
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) |