public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org>
To: newlib-cvs@sourceware.org
Subject: [newlib-cygwin] newlib: fix iswupper_l in !_MB_CAPABLE case
Date: Tue, 27 Mar 2018 10:35:00 -0000	[thread overview]
Message-ID: <20180327103543.9662.qmail@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=1ee6654e5058038cd97e93d7a1e3c4337820eb9d

commit 1ee6654e5058038cd97e93d7a1e3c4337820eb9d
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Tue Mar 27 12:35:27 2018 +0200

    newlib: fix iswupper_l in !_MB_CAPABLE case
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 newlib/libc/ctype/iswupper_l.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/newlib/libc/ctype/iswupper_l.c b/newlib/libc/ctype/iswupper_l.c
index 091b6e6..e772f92 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 */
 }


                 reply	other threads:[~2018-03-27 10:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180327103543.9662.qmail@sourceware.org \
    --to=corinna@sourceware.org \
    --cc=newlib-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).