Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/ctype/isblank.c')
-rw-r--r--newlib/libc/ctype/isblank.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/ctype/isblank.c b/newlib/libc/ctype/isblank.c
index 0567b40b9..f4d38b95c 100644
--- a/newlib/libc/ctype/isblank.c
+++ b/newlib/libc/ctype/isblank.c
@@ -37,5 +37,5 @@ No supporting OS subroutines are required.
int
_DEFUN(isblank,(c),int c)
{
- return(__ctype_ptr__[c+1] & _B);
+ return ((__ctype_ptr__[c+1] & _B) || (c == '\t'));
}