From: Collin Funk Date: Fri, 5 Sep 2025 04:13:43 +0000 (-0700) Subject: maint: prefer c32isspace to iswspace X-Git-Tag: v9.8~69 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0114629e0c73b6530f551b645097ff93e4663806;p=thirdparty%2Fcoreutils.git maint: prefer c32isspace to iswspace * src/wc.c (wc): Replace call to iswspace with c32isspace. --- diff --git a/src/wc.c b/src/wc.c index 214637dcf9..268b947bb0 100644 --- a/src/wc.c +++ b/src/wc.c @@ -523,7 +523,7 @@ wc (int fd, char const *file_x, struct fstatus *fstatus) if (width > 0) linepos += width; } - in_word2 = (! iswspace (wide_char) + in_word2 = (! c32isspace (wide_char) && ! maybe_c32isnbspace (wide_char)); }