Your message dated Mon, 15 Aug 2022 18:52:26 +0200
with message-id <[email protected]>
and subject line Re: Bug#866806: diffutils: cmp -b prints first byte always as
12 ^J
has caused the Debian Bug report #866806,
regarding diffutils: cmp -b prints first byte always as 12 ^J
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
866806: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=866806
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: diffutils
Version: 1:3.5-3
Severity: important
Dear Maintainer,
after upgrading to Stretch, cmp -b output is wrong - if the files are
different, the first different byte is always printed as 12 ^J. This is a
major bug in such a simple utility. cmp -b -l works correctly.
$ echo 1 >one
$ echo 2 >two
$ cmp -b one two
one two differ: byte 1, line 1 is 12 ^J 62 2
$ cmp -b -l one two
1 61 1 62 2
It's OK in Jessie or Wheezy:
$ echo 1 > one
$ echo 2 >two
$ cmp -b one two
one two differ: byte 1, line 1 is 61 1 62 2
$ cmp -b -l one two
1 61 1 62 2
Sometimes, the 2nd byte is messed up too:
# cmp -b /root/random230m.bin /mnt/random230m.bin
/root/random230m.bin /mnt/random230m.bin differ: byte 36882317, line 143981 is
12 ^J 333 M-[
# cmp -b /root/random230m.bin /mnt/random230m.bin
/root/random230m.bin /mnt/random230m.bin differ: byte 85995009, line 336284 is
12 ^J 327 M-W
-- System Information:
Debian Release: 9.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 4.12.0-rc5+ (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages diffutils depends on:
ii libc6 2.24-11+deb9u1
diffutils recommends no packages.
Versions of packages diffutils suggests:
pn diffutils-doc <none>
pn wdiff <none>
-- debconf-show failed
--- End Message ---
--- Begin Message ---
Version: 1:3.7-3
On 7/1/17 23:27, Ondrej Zary wrote:
Package: diffutils
Version: 1:3.5-3
Severity: important
Dear Maintainer,
after upgrading to Stretch, cmp -b output is wrong - if the files are
different, the first different byte is always printed as 12 ^J. This is a
major bug in such a simple utility. cmp -b -l works correctly.
$ echo 1 >one
$ echo 2 >two
$ cmp -b one two
one two differ: byte 1, line 1 is 12 ^J 62 2
This was fixed in Debian 10 (buster), which is now oldstable.
I'm therefore marking it as fixed in the buster version.
Thanks.
--- End Message ---