chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d81725
)
[PATCH] fix bug in klibc's isspace function.
author
greg@kroah.com
<greg@kroah.com>
Wed, 12 Nov 2003 15:17:33 +0000
(07:17 -0800)
committer
Greg KH
<gregkh@suse.de>
Wed, 27 Apr 2005 04:06:23 +0000
(21:06 -0700)
klibc/klibc/include/ctype.h
patch
|
blob
|
history
diff --git
a/klibc/klibc/include/ctype.h
b/klibc/klibc/include/ctype.h
index 2cb90a45d37f5b965d3c70b2a77fa3835f4dc619..e1a25f3693fb41d2ccea983f06444910720dacf5 100644
(file)
--- 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)