chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] fix bug in klibc's isspace function.
[elogind.git]
/
klibc
/
klibc
/
include
/
ctype.h
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)