]> git.ipfire.org Git - thirdparty/coreutils.git/commit
wc: fix -w with breaking space over UCHAR_MAX
authorAearil <aearil@paranoici.org>
Sat, 24 Feb 2024 20:44:24 +0000 (21:44 +0100)
committerPádraig Brady <P@draigBrady.com>
Mon, 26 Feb 2024 17:33:02 +0000 (17:33 +0000)
commitfeda512e97ab988ba866aa82895e6647cb68917e
treeb11bb17866d4b5a03bb0869905125ae3ff24681d
parent49912bac286eb3c0ef7d1567ae790193ad5eb2e8
wc: fix -w with breaking space over UCHAR_MAX

* src/wc.c (wc): Fix regression introduced in commit v9.4-48-gf40c6b5cf.
* tests/wc/wc-nbsh.sh: Add test cases for "standard" spaces.
Fixes https://bugs.gnu.org/69369
src/wc.c
tests/wc/wc-nbsp.sh