Package: dpkg-dev Version: 1.14.24 Severity: normal Rather than returning an error if the version being checked is invalid, check_version calls Dpkg::ErrorHandling::error which kills perl by calling die.
It would be nice to have a function which just returned true/false. If dieing is the correct course of action, an additional function which called check_version and then died on failure would keep the existing functionality. Thanks, Roger -- System Information: Debian Release: 5.0 APT prefers unstable APT policy: (550, 'unstable'), (400, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages dpkg-dev depends on: ii binutils 2.18.1~cvs20080103-7 The GNU assembler, linker and bina ii bzip2 1.0.5-1 high-quality block-sorting file co ii cpio 2.9-14 GNU cpio -- a program to manage ar ii dpkg 1.14.24 Debian package management system ii libtimedate-perl 1.1600-9 Time and date functions for Perl ii lzma 4.43-14 Compression method of 7z format in ii make 3.81-5 The GNU version of the "make" util ii patch 2.5.9-5 Apply a diff file to an original ii perl [perl5] 5.10.0-19 Larry Wall's Practical Extraction ii perl-modules 5.10.0-19 Core Perl modules Versions of packages dpkg-dev recommends: ii build-essential 11.4 Informational list of build-essent ii gcc [c-compiler] 4:4.3.2-2 The GNU C compiler ii gcc-4.1 [c-compiler] 4.1.2-24 The GNU C compiler ii gcc-4.3 [c-compiler] 4.3.2-1.1 The GNU C compiler Versions of packages dpkg-dev suggests: ii debian-keyring 2008.11.30 GnuPG (and obsolete PGP) keys of D ii gnupg 1.4.9-3 GNU privacy guard - a free PGP rep -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org