Package: ipcalc Severity: normal Tags: patch Use of uninitialized value $ENV{"TERM"} in pattern match (m//) at /usr/bin/ipcalc line 714.
--- ipcalc.old 2009-09-18 16:25:55.000000000 +0400 +++ ipcalc 2009-09-18 16:32:50.000000000 +0400 @@ -711,7 +711,7 @@ # Under Emacs, do not use colors by default. The TERM is for older # Emacs versions. - if ( $ENV{'TERM'} =~ /dumb/i or $ENV{'INSIDE_EMACS'} ) { + if ( !defined($ENV{'TERM'}) or $ENV{'TERM'} =~ /dumb/i or $ENV{'INSIDE_EMACS'} ) { $opt_color = 0; } --- Please enter the report below this line. --- --- System information. --- Architecture: i386 Kernel: Linux 2.6.31 Debian Release: squeeze/sid 500 unstable www.debian-multimedia.org 500 unstable http.us.debian.org 500 testing http.us.debian.org 500 testing dl.google.com 500 stable download.webmin.com 500 stable dl.google.com 500 lenny 192.168.1.2 1 experimental http.us.debian.org --- Package information. --- Package's Depends field is empty. Package's Recommends field is empty. Package's Suggests field is empty.
signature.asc
Description: This is a digitally signed message part.