bug#79300: fold-nbsp test failure

Bruno Haible via GNU coreutils Bug Reports <[email protected]>
Newsgroups gmane.comp.gnu.core-utils.bugs
Organization GNU
Message-ID <5721895.e6LmomsqZI@nimes>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.