From 0114629e0c73b6530f551b645097ff93e4663806 Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Thu, 4 Sep 2025 21:13:43 -0700 Subject: [PATCH] maint: prefer c32isspace to iswspace * src/wc.c (wc): Replace call to iswspace with c32isspace. --- src/wc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } -- 2.47.3