Package: devscripts
Version: 2.8.14
Severity: minor
Tags: patch

Hello there.
A minor flaw in uscan is that it gives uninitialized value warnings when
considering this watchfile:

version=2
http://www.cpan.org/modules/by-module/Curses/Curses-([0-9].*?)\.t(ar
\.)?gz \
 debian uupdate

Use of uninitialized value in join or string at /usr/bin/uscan line 706,
<WATCH> line 3.
Use of uninitialized value in join or string at /usr/bin/uscan line 706,
<WATCH> line 3.
Use of uninitialized value in join or string at /usr/bin/uscan line 706,
<WATCH> line 3.
libcurses-perl: Newer version (1.12.) available on remote site:
  http://www.cpan.org/modules/by-module/Curses/Curses-1.12.tgz
  (local version is 1.11)


While the scan still works and has the intended effect, the warning is
quite ugly.  Consider this small 
fix:

706c706
<               my $mangled_version = join(".", $href =~ m&^$pattern$&);
---
>               my $mangled_version = join(".", (map { $_ if
defined($_) } $href =~ m&^$pattern$&));


It's a great tool, and makes my job a million times easier. Many thanks
for it.

                --jay


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.22-1-386
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

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

-- no debconf information

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to