Explorar o código

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 %!s(int64=19) %!d(string=hai) anos
pai
achega
40ed7b0685
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;