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

To reply to this bug, email your comments to 50165 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-diffutils <at> gnu.org:
bug#50165; Package diffutils. (Sun, 22 Aug 2021 17:02:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to YruNlsr6371bDg <fhdpo2zdkgrgktctxxumrxd2ayhtdf <at> onionmail.org>:
New bug report received and forwarded. Copy sent to bug-diffutils <at> gnu.org. (Sun, 22 Aug 2021 17:02:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: YruNlsr6371bDg <fhdpo2zdkgrgktctxxumrxd2ayhtdf <at> onionmail.org>
To: bug-diffutils <at> gnu.org
Subject: 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 2 years and 246 days ago.

Previous Next


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