public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin/main] Cygwin: is_unicode_equiv: fix comment
@ 2023-02-16 19:52 Corinna Vinschen
0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2023-02-16 19:52 UTC (permalink / raw)
To: cygwin-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=e4cc9e48462b538253d62109012b90befaaf7bc5
commit e4cc9e48462b538253d62109012b90befaaf7bc5
Author: Corinna Vinschen <corinna@vinschen.de>
AuthorDate: Thu Feb 16 20:52:20 2023 +0100
Commit: Corinna Vinschen <corinna@vinschen.de>
CommitDate: Thu Feb 16 20:52:20 2023 +0100
Cygwin: is_unicode_equiv: fix comment
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
winsup/cygwin/nlsfuncs.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/winsup/cygwin/nlsfuncs.cc b/winsup/cygwin/nlsfuncs.cc
index f3701312b92b..aa7e8434d7cf 100644
--- a/winsup/cygwin/nlsfuncs.cc
+++ b/winsup/cygwin/nlsfuncs.cc
@@ -1196,7 +1196,7 @@ __collate_range_cmp (int c1, int c2)
}
/* Check if UTF-32 input character `test' is in the same equivalence class
- as the multibyte char in `equiv'.
+ as UTF-32 character 'eqv'.
Note that we only recognize input in Unicode normalization form C, that
is, we expect all letters to be composed. A single character is all we
look at.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [newlib-cygwin/main] Cygwin: is_unicode_equiv: fix comment
@ 2023-03-03 17:20 Corinna Vinschen
0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2023-03-03 17:20 UTC (permalink / raw)
To: cygwin-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=5ca1c57a82e040cf98cd8468d806b398d019ddbe
commit 5ca1c57a82e040cf98cd8468d806b398d019ddbe
Author: Corinna Vinschen <corinna@vinschen.de>
AuthorDate: Fri Mar 3 18:15:52 2023 +0100
Commit: Corinna Vinschen <corinna@vinschen.de>
CommitDate: Fri Mar 3 18:19:18 2023 +0100
Cygwin: is_unicode_equiv: fix comment
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
winsup/cygwin/nlsfuncs.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/winsup/cygwin/nlsfuncs.cc b/winsup/cygwin/nlsfuncs.cc
index 04d7072e7987..95e291a283db 100644
--- a/winsup/cygwin/nlsfuncs.cc
+++ b/winsup/cygwin/nlsfuncs.cc
@@ -1268,7 +1268,7 @@ is_unicode_equiv (wint_t test, wint_t eqv)
testc[1] = ((test - 0x10000) & 0x3ff) + 0xdc00;
} else
testc[0] = test;
- /* Convert to denormalized form */
+ /* Convert to decomposed form */
FoldStringW (MAP_COMPOSITE | MAP_FOLDCZONE | MAP_FOLDDIGITS,
eqvc, -1, decomp_eqvc, 24);
FoldStringW (MAP_COMPOSITE | MAP_FOLDCZONE | MAP_FOLDDIGITS,
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-03 17:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-16 19:52 [newlib-cygwin/main] Cygwin: is_unicode_equiv: fix comment Corinna Vinschen
2023-03-03 17:20 Corinna Vinschen
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).