]> err.no Git - dpkg/commitdiff
Import warning and syserr functions in Dpkg::Shlibs::Objdump::Object
authorRaphael Hertzog <hertzog@debian.org>
Wed, 22 Aug 2007 08:06:31 +0000 (10:06 +0200)
committerRaphael Hertzog <hertzog@debian.org>
Wed, 22 Aug 2007 08:06:31 +0000 (10:06 +0200)
They were used in that module but not defined. It lead to problems
only when something else failed, so was difficult to detect.

scripts/Dpkg/Shlibs/Objdump.pm

index 93c16cd18393f4a36dd38daff6cdcf30d82b0b60..9d69070288fdafb1c9d46d865f5be17d63dfd25c 100644 (file)
@@ -100,6 +100,7 @@ sub is_elf {
 package Dpkg::Shlibs::Objdump::Object;
 
 use Dpkg::Gettext;
+use Dpkg::ErrorHandling qw(syserr warning);
 
 sub new {
     my $this = shift;