bug#69369: wc -w ignores breaking space over UCHAR_MAX

2024-02-25 Thread Pádraig Brady
On 24/02/2024 20:44, Aearil via GNU coreutils Bug Reports wrote: Hi, wc -w doesn't seem to recognize whitespace characters with a codepoint over UCHAR_MAX (255) as word separators. For example, using the character EM SPACE U+2003: $ printf "foo\u2003bar" | ./wc -w 1 I should get a word count o

bug#69368: [PATCH] Allow --zero with --check

2024-02-25 Thread Ricardo Branco
On 2/25/24 12:06, Pádraig Brady wrote: By adding this support we diverge the checksum file formats supported by check. I.e. users may inadvertently create such files that are not usable by any previous version of the checksum utilities. Any user of the --zero flag has already created complet

bug#69368: [PATCH] Allow --zero with --check

2024-02-25 Thread Pádraig Brady
On 24/02/2024 19:07, Ricardo Branco wrote: The --zero option is useless if not supported by --check. Attached patch fixes it. https://github.com/coreutils/coreutils/pull/81 I'm not sure about this. By adding this support we diverge the checksum file formats supported by check. I.e. users may

bug#69368: [PATCH]: md5sum: Allow --zero with --check

2024-02-25 Thread Ricardo Branco
Improved version. diff --git a/src/digest.c b/src/digest.c index e8d5ded33..e760afab3 100644 --- a/src/digest.c +++ b/src/digest.c @@ -1178,7 +1178,7 @@ digest_check (char const *checkfile_name) error (EXIT_FAILURE, 0, _("%s: too many checksum lines"), quotef (checkfile_na