Subject: Re: bug#79300: fold-nbsp test failure

From: Bruno Haible <[email-masked]>
Date: Thu, 04 Sep 2025 19:04:30 +0200

Hi Collin,

> Pushed the attatched two patches. The second fixes a 'make syntax-check'
> failure. Will close this bug now.

Thanks. I confirm (via today's CI run) that bug #79300 is fixed.

> P.S. I actually just noticed this unchanged hunk in my diff:
> 
> $ git ls-files | grep -E '\.[ch]' | xargs grep -F 'isw'
> src/wc.c:                      in_word2 = (! iswspace (wide_char)
> 
> Okay to change this one to the c32 variant?

Yes. Since 'wide_char' is of type char32_t and produced by mbrtoc32,
this line should call c32isspace, not iswspace. [1]

Bruno

[1] https://www.gnu.org/software/gnulib/manual/html_node/Comparison-of-character-APIs.html