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:
authorCorinna Vinschen <corinna@vinschen.de>2018-03-27 13:35:27 +0300
committerCorinna Vinschen <corinna@vinschen.de>2018-03-27 13:35:27 +0300
commit1ee6654e5058038cd97e93d7a1e3c4337820eb9d (patch)
tree441de4ce65465e1e1884ddc657c9418c32e010f2 /newlib/libc/ctype
parentee49870a7d2517a1f783741389a2492fb2bb2b8e (diff)
newlib: fix iswupper_l in !_MB_CAPABLE case
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/ctype')
-rw-r--r--newlib/libc/ctype/iswupper_l.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/ctype/iswupper_l.c b/newlib/libc/ctype/iswupper_l.c
index 091b6e648..e772f929b 100644
--- a/newlib/libc/ctype/iswupper_l.c
+++ b/newlib/libc/ctype/iswupper_l.c
@@ -15,6 +15,6 @@ iswupper_l (wint_t c, struct __locale_t *locale)
enum category cat = category (c);
return cat == CAT_Lu || (cat == CAT_LC && towupper (c) == c);
#else
- return c < 0x100 ? islower (c) : 0;
+ return c < 0x100 ? isupper (c) : 0;
#endif /* _MB_CAPABLE */
}