GNU bug report logs - #33128
cmp -l misses differences

Previous Next

Package: diffutils;

Reported by: Hans-Joachim Baader <Hans-Joachim.Baader <at> cjt.de>

Date: Tue, 23 Oct 2018 15:27:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 33128-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Hans-Joachim Baader <Hans-Joachim.Baader <at> cjt.de>,
 33128-done <at> debbugs.gnu.org
Subject: Re: [bug-diffutils] bug#33128: cmp -l misses differences
Date: Tue, 23 Oct 2018 17:07:47 -0700
On 10/23/18 5:44 AM, Hans-Joachim Baader wrote:
> it seems that "cmp -l" doesn't list all differences. The attached blobs differ
> among others at positions 0x437 (1079), 0x4b7 (1207) and 0x5b7 (1463).

cmp uses origin 1, not origin 0, and it reports all the positions you 
mentioned; it just adds 1 to them.





This bug report was last modified 6 years and 275 days ago.

Previous Next


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