GNU bug report logs - #79300
fold-nbsp test failure

Previous Next

Package: coreutils;

Reported by: Bruno Haible <bruno <at> clisp.org>

Date: Sun, 24 Aug 2025 07:51:02 UTC

Severity: normal

Tags: fixed

Done: Collin Funk <collin.funk1 <at> gmail.com>

Full log


Message #54 received at 79300 <at> debbugs.gnu.org (full text, mbox):

From: Bruno Haible <bruno <at> clisp.org>
To: Collin Funk <collin.funk1 <at> gmail.com>
Cc: 79300 <at> debbugs.gnu.org, Pádraig Brady <P <at> draigbrady.com>
Subject: Re: bug#79300: fold-nbsp test failure
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







This bug report was last modified 10 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.