Parcourir la source

Import warning and syserr functions in Dpkg::Shlibs::Objdump::Object

They were used in that module but not defined. It lead to problems
only when something else failed, so was difficult to detect.
Raphael Hertzog il y a 19 ans
Parent
commit
40ed7b0685
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      scripts/Dpkg/Shlibs/Objdump.pm

+ 1 - 0
scripts/Dpkg/Shlibs/Objdump.pm

@@ -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;