Article View: gnu.utils.bug
Article #1726cmp bug
From: Christopher Marshall
Date: Sat, 10 Feb 1990 00:16
Date: Sat, 10 Feb 1990 00:16
20 lines
992 bytes
992 bytes
I have compiled cmp on both a SYSVr3 box and a BSD machine and
found that the reported location of the first error using the -l option is not
correct.
Cmp appears to report twice the actual 1st error location less 1.
All subsequent locations are shifted by the difference between the
actual location of the first error and the reported location of the
first error.
e.g. Two files differing at the 8th byte would generate this output:
15 164 70
...
while /bin/cmp -l reports
8 164 70
...
Christopher Marshall
chris@star2.cm.utexas.edu
chm@emx.utexas.edu
Technical Details
Message-ID:
<9002100016.AA04059@star2.cm.utexas.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!STAR2.CM.UTEXAS.EDU!chrisShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!STAR2.CM.UTEXAS.EDU!chris From: chris@STAR2.CM.UTEXAS.EDU (Christopher Marshall) Newsgroups: gnu.utils.bug Subject: cmp bug Message-ID: <9002100016.AA04059@star2.cm.utexas.edu> Date: 10 Feb 90 00:16:39 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 20