emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#33128: closed (cmp -l misses differences)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#33128: closed (cmp -l misses differences)
Date: Wed, 24 Oct 2018 00:08:01 +0000

Your message dated Tue, 23 Oct 2018 17:07:47 -0700
with message-id <address@hidden>
and subject line Re: [bug-diffutils] bug#33128: cmp -l misses differences
has caused the debbugs.gnu.org bug report #33128,
regarding cmp -l misses differences
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
33128: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33128
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: cmp -l misses differences Date: Tue, 23 Oct 2018 12:44:34 +0000
Hi,

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).
One file contains 0x80 at these positions, the other 0. cmp shows neither of
these. I tested with 3.5 and Git Head.

It would be interesting to compare with other implementations, but I don't
have one available.

Regards,
Hans-Joachim Baader

Attachment: blob1
Description: blob1

Attachment: blob2
Description: blob2


--- End Message ---
--- Begin Message --- Subject: Re: [bug-diffutils] bug#33128: cmp -l misses differences Date: Tue, 23 Oct 2018 17:07:47 -0700 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1
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.



--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]