Activity log for bug #816325

Date Who What changed Old value New value Message
2011-07-26 09:31:17 Pallinger Péter bug added bug
2011-07-26 10:58:00 Pallinger Péter summary xzdiff does not reserve diff's return value xzdiff does not preserve diff's return value
2011-07-26 11:09:11 Pallinger Péter tags xzdiff xzcmp xzdiff
2011-07-26 11:12:36 Pallinger Péter description Description: Ubuntu 11.04 Release: 11.04 Architecture: x86_64 package version: 5.0.0-2 It always returns 0 instead of 1. Simple way to check: cp /etc/hosts /etc/hostname /tmp/ cd /tmp diff -q host* ; echo $? xz host* xzdiff -q host* ; echo $? I could not create a simple test case for 2 (this would be a case where diff fails due to an error while xzdiff can run correctly, i.e. unreadable xz files do not qualify). Description: Ubuntu 11.04 Release: 11.04 Architecture: x86_64 package version: 5.0.0-2 It always returns 0 instead of 1. Simple way to check: cp /etc/hosts /etc/hostname /tmp/ cd /tmp diff -q host* ; echo $? xz host* xzdiff -q host* ; echo $? I could not create a simple test case for 2 (this would be a case where diff fails due to an error while xzdiff can run correctly, i.e. unreadable xz files do not qualify). xzcmp behaves the same way, as they are the same program
2011-07-26 11:16:49 Pallinger Péter attachment added patch for fixing xzdiff https://bugs.launchpad.net/ubuntu/+source/xz-utils/+bug/816325/+attachment/2233602/+files/xzdiff.patch
2011-07-26 17:32:54 Brian Murray bug added subscriber Ubuntu Review Team
2011-07-26 17:32:55 Brian Murray tags xzcmp xzdiff patch xzcmp xzdiff