Package: diff Version: 2.8.1-12 Severity: normal
Using "cmp -l file1 file2" produces bogus differences. Only the byte positions are correct, all but the first 'from' byte are totally bogus. The output values even contain values that are > 255. What gives?! I attach a small test case using files that I used as a test on my system. Below is the output I get. ---[cut here]--- [EMAIL PROTECTED]:~/Desktop/cmpbug$ ./cmptest a.dat b.dat Comparing "a.dat" and "b.dat" using cmp 000005 00 8C 000018 DE 165 000041 8F 67 000042 2C 2D 000057 8F 67 000058 2C 2D Comparing "a.dat" and "b.dat" using od and diff 000004 00 60 000017 92 ef 000040 63 43 000041 24 25 000056 63 43 000057 24 25 ---[cut here]--- -Alain -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages diff depends on: ii libc6 2.7-6 GNU C Library: Shared libraries diff recommends no packages. -- no debconf information
cmpbug.tar.gz
Description: GNU Zip compressed data

