]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: __collate_range_cmp: handle Unicode values >= 0x10000
authorCorinna Vinschen <corinna@vinschen.de>
Tue, 14 Feb 2023 11:22:36 +0000 (12:22 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Tue, 14 Feb 2023 11:48:26 +0000 (12:48 +0100)
commiteac830e0feac1e5f4fbb9637506bd071e7530a1f
tree1489ae5c0de87614ad5cac4265982a190ac896fc
parent60c25da90d015f27c5697c6db7ab0557585d09aa
Cygwin: __collate_range_cmp: handle Unicode values >= 0x10000

So far the input to __collate_range_cmp was handled as a wchar_t.
Change that to handle it as wint_t holding a UTF-32 value and
add creating surrogate pairs for the call to wcscoll.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/nlsfuncs.cc
This page took 0.028441 seconds and 5 git commands to generate.