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] Allow --zero with --check

2024-02-24 Thread Ricardo Branco
The --zero option is useless if not supported by --check. Attached patch fixes it. https://github.com/coreutils/coreutils/pull/81 Best, R diff --git a/src/digest.c b/src/digest.c index e8d5ded33..ddd816012 100644 --- a/src/digest.c +++ b/src/digest.c @@ -1178,7 +1177,7 @@ digest_check (char co