Package: devscripts
Version: 2.9.2
Severity: normal
Tags: patch

Hi,

in bts_forwarded(), the rest of the command line is used as "forwarded
address". Therefore, there is no point in checking if the rest of the
line is eaten up. Worse, the join() doesn't eat up anything from @_, so
"bts forward" bombs out on normal use since svn r166.

See attached patch.

bye,
  Roland

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.12-1-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)

Versions of packages devscripts depends on:
ii  debianutils                 2.14.1       Miscellaneous utilities specific t
ii  dpkg-dev                    1.13.10      Package building tools for Debian
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  perl                        5.8.7-4      Larry Wall's Practical Extraction 
ii  sed                         4.1.4-2      The GNU sed stream editor

Versions of packages devscripts recommends:
ii  fakeroot                      1.4.2      Gives a fake root environment

-- no debconf information
--- bts.pl.orig 2005-07-31 21:17:26.168956573 +0200
+++ bts.pl      2005-07-31 21:22:18.471598089 +0200
@@ -812,7 +812,6 @@
     if (! length $email) {
        die "bts forwarded: mark bug $bug as forwarded to what email 
address?\n";
     }
-    opts_done(@_);
     mailbts("bug $bug is forwarded to $email", "forwarded $bug $email");
 }
 

Reply via email to