Package: colordiff
Version: 1.0.4-4
Severity: important
Tags: patch

Hello.  If the output is not a terminal (like, when using diff to make a
patch), colordiff will still happily colorize the output.  This is bad if
"diff" is an alias to "colordiff", as suggested in the manpage.

The fix is simple:

exec "/usr/bin/diff",@ARGV unless -t STDOUT;

I already reported this bug upstream over three years ago, but it appears to
be left unfixed.  At least, the bug bit me today again :p

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages colordiff depends on:
ii  perl                       5.8.4-8sarge4 Larry Wall's Practical Extraction 

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to