]> err.no Git - systemd/commitdiff
[PATCH] fix bug in klibc's isspace function.
authorgreg@kroah.com <greg@kroah.com>
Wed, 12 Nov 2003 15:17:33 +0000 (07:17 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:06:23 +0000 (21:06 -0700)
klibc/klibc/include/ctype.h

index 2cb90a45d37f5b965d3c70b2a77fa3835f4dc619..e1a25f3693fb41d2ccea983f06444910720dacf5 100644 (file)
@@ -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)