GNU bug report logs - #50165
GNU diff '--recursive' should continue on "input/output error". GNU cmp should have missing '--recursive' option.

Previous Next

Package: diffutils;

Reported by: YruNlsr6371bDg <fhdpo2zdkgrgktctxxumrxd2ayhtdf <at> onionmail.org>

Date: Sun, 22 Aug 2021 17:02:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: YruNlsr6371bDg <fhdpo2zdkgrgktctxxumrxd2ayhtdf <at> onionmail.org>
To: 50165 <at> debbugs.gnu.org
Subject: bug#50165: GNU diff '--recursive' should continue on "input/output error". GNU cmp should have missing '--recursive' option.
Date: Sun, 22 Aug 2021 14:03:24 +0000
[Message part 1 (text/plain, inline)]
These maybe 2 different bugs, but they both deal with recursion, so both are
reported here.


(1)
Hard-disk-drives, Solid-state-drives, flash media, etc. might have errors in
certain blocks/sectors.

But this does not mean that diff, when running in '--recursive' mode, should
stop after encountering the first "input/output error".

At the very least, there should be a '--continue-on-error' option, to make diff
proceed to the next file comparison(s) when operating in '--recursive' mode.


(2)
cmp does not have a '--recursive' option analagous to diff - and it should - as
there might be a need to compare 2 directories of binary files.
[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 297 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.