Package: gt5 Version: 1.5.0~20091209+bzr25-2 Severity: important Tags: patch
Hi! I've found the two following bugs : - Commandline arguments are not working, i.e. "gt5 --help" or "gt5 folder" give the same result as "gt5" - I get the following error when starting gt5 : "gt5_substr_after" function is not declared Theses bugs are due to minor errors in the code : the attached patch correctly solves them in my case. It looks like the bugs appeared during the rewriting of gt5 from version 1.4.0 to 1.4.0.1 (aka debian package 1.5.0). Cheers, -- Steph -- System Information: Debian Release: 5.0.6 APT prefers stable APT policy: (990, 'stable'), (970, 'testing'), (950, 'unstable') 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.old 2010-10-05 22:40:50.000000000 +0200 +++ /usr/bin/gt5 2010-10-05 23:01:17.000000000 +0200 @@ -477,7 +477,7 @@ trap At_exit 0 1 3 15 Initialize Initialize_tempdir -Options +Options $* SPACE="_escaped_${RANDOM}_space_" TAB="_escaped_${RANDOM}_tab_" @@ -515,7 +515,7 @@ GENERIC_STORE="$DDIR/$(Replace_all "$GEN F1="$(Replace_all "$CD" "_" "__")" F1="$DDIR/$(Replace_all "$F1" "/" "_,")" while [ ! -f "$F1.gz" -a "$F1" != "$DDIR/" ]; do - H="/$(gt5_substr_After "$F1" "_,")$H" + H="/$(Substr_after_all "$F1" "_,")$H" F1=$(Substr_before "$F1" "_,") done