[SCM] Debian native package for Config::Model::Dpkg branch, master, updated. debian/2.036-25-g9af236a
Dominique Dumont
dod at debian.org
Mon May 27 12:10:32 UTC 2013
The following commit has been merged in the master branch:
commit 337971bf28aa0aa57bc31d3d97865121deed30ed
Author: Dominique Dumont <dod at debian.org>
Date: Mon May 27 14:08:19 2013 +0200
avoid undef warning
diff --git a/lib/Config/Model/Dpkg/Dependency.pm b/lib/Config/Model/Dpkg/Dependency.pm
index 8942b5b..6d39a98 100644
--- a/lib/Config/Model/Dpkg/Dependency.pm
+++ b/lib/Config/Model/Dpkg/Dependency.pm
@@ -92,7 +92,7 @@ arch_restriction: '[' osarch(s) ']'
my $mismatch = 0;
my $ref = $item[2] ;
for (my $i = 0; $i < $#$ref -1 ; $i++ ) {
- $mismatch ||= (($ref->[$i][0] eq '!') xor ($ref->[$i+1][0] eq '!')) ;
+ $mismatch ||= ($ref->[$i][0] xor $ref->[$i+1][0]) ;
}
my @a = map { ($_->[0] || '') . ($_->[1] || '') . $_->[2] } @$ref ;
if ($mismatch) {
--
Debian native package for Config::Model::Dpkg
More information about the Pkg-perl-cvs-commits
mailing list