Package: gt5 Version: 1.5.0~20101011+bzr26-1 Severity: normal Tags: patch Hi!
Two bugs appeared in version 1.4.0.2 of the gt5 code. 1. Useless lines appear in the HTML output (not present in the 1.4.0.1 version) ------------------------------------------------------------------------------ HTML output 1.4.0.2 (with useless lines) : > ./: [58MB in 63 files or directories] -40KB > > 59824 59864 . 59824 59864 . > 40MB [68.92%] ./dead.letter > 59824 59864 . 41232 41232 ./dead.letter > 7.3MB [12.44%] ./.mozilla/ > 59824 59864 . 7440 7440 ./.mozilla > 4.3MB [ 7.35%] ./shellinabox-2.10/ > 59824 59864 . 4400 4400 ./shellinabox-2.10 > 2.2MB [ 3.70%] ./DramainthePhD.mp3 > 59824 59864 . 2216 2216 ./DramainthePhD.mp3 HTML output 1.4.0.1 (no useless lines) > ./: [58MB in 63 files or directories] > > 40MB [68.89%] ./dead.letter > 7.3MB [12.43%] ./.mozilla/ > 4.3MB [ 7.35%] ./shellinabox-2.10/ > 2.2MB [ 3.70%] ./DramainthePhD.mp3 2. "local" error message ------------------------ I get an error message when starting gt5 : > line 594: local: can only be used in a function I attached a patch that corrects these bugs. Cheers, -- Steph -- System Information: Debian Release: 5.0.6 Architecture: i386 (i586) Kernel: Linux 2.6.32-5-486 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages gt5 depends on: ii bash 3.2-4 The GNU Bourne Again SHell ii links2 2.1pre37-1.1 Web browser running in both graphi gt5 recommends no packages. gt5 suggests no packages. -- no debconf information
--- gt5-1.4.0.2.bak 2010-10-16 23:25:29.000000000 +0200 +++ /usr/bin/gt5 2010-10-17 11:33:55.000000000 +0200 @@ -591,8 +591,6 @@ DEPTH="$(du --help 2>&1 | Verbose "done" fi - local f - for f in "$F1" "$F2" do @@ -751,8 +749,7 @@ sort -k3 -k1,1nr | } } - $1 > 0 - { + $1 > 0 { # Division by zero ... if ( op != $3 )