[Bug 449893] [NEW] Values returned by colordiff and diff differ
optim
martpolak at gmail.com
Mon Oct 12 21:42:31 UTC 2009
Public bug reported:
Binary package hint: colordiff
Colordiff returns success (0) even when files differ.
1) Ubuntu Hardy.
2) Tried more versions. I found the bug in 1.0.6-2 (Hardy) and 1.0.7-2 (Intrepid and Jaunty). 1.0.9-1 (Karmic) behaves correctly.
3) Correct behaviour in 1.0.9-1
$ echo a > a; echo b > b;
$ diff -q a b; echo "$?"; colordiff -q a b; echo "$?"
Files a and b differ
1
Files a and b differ
1
4) Behaviour in 1.0.6-2 and 1.0.7-2
$ echo a > a; echo b > b;
$ diff -q a b; echo "$?"; colordiff -q a b; echo "$?"
Files a and b differ
1
Files a and b differ
0
** Affects: colordiff (Ubuntu)
Importance: Undecided
Status: New
--
Values returned by colordiff and diff differ
https://bugs.launchpad.net/bugs/449893
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list