On 2023-07-06 11:34, Bruno Haible wrote:
Indeed, this is the solution that makes no assumptions. Find a patch that
does it.
Thanks, I think. I installed that, and in reviewing it found a minor
glitch or two and some opportunities for simplification. I installed the
attached further patch whi
Mosab Al-Zoubi wrote:
> Please see the bug at RHBZ:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=2220874
Thanks for the report. I have reported a bug upstream in glibc
https://sourceware.org/bugzilla/show_bug.cgi?id=30620
and added a workaround in gnulib.
2023-07-06 Bruno Haible
Paul Eggert wrote:
> I still see a couple of problems with it. First, it mishandles the case
> where mbrtoc32 returns 0, which ISO C allows.
I thought that we could assume that no locale encoding maps a multibyte
sequence other than "\0" to (char32_t) 0. But OK, if you don't want to
assume that,
Please see the bug at RHBZ:
https://bugzilla.redhat.com/show_bug.cgi?id=2220874
Regards,
MOSAAB