aboutsummaryrefslogtreecommitdiffstats
path: root/URPM
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-02-15 19:47:39 +0000
committerThierry Vignaud <tv@mageia.org>2012-02-15 19:47:39 +0000
commitf473f9b521f3d02941a9dea7ce869527d1b78af6 (patch)
tree84e3ad2b275d319420cce9a3a25b21692efe33eb /URPM
parent9e3f751e7aed4e7f3c806b93e785a2202e3ba381 (diff)
downloadperl-URPM-f473f9b521f3d02941a9dea7ce869527d1b78af6.tar
perl-URPM-f473f9b521f3d02941a9dea7ce869527d1b78af6.tar.gz
perl-URPM-f473f9b521f3d02941a9dea7ce869527d1b78af6.tar.bz2
perl-URPM-f473f9b521f3d02941a9dea7ce869527d1b78af6.tar.xz
perl-URPM-f473f9b521f3d02941a9dea7ce869527d1b78af6.zip
(_find_packages_obsoleting) fix for a rare unreproductable crash (mga#4425)
Diffstat (limited to 'URPM')
-rw-r--r--URPM/Resolve.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index c09047a..2ff98a0 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -1228,6 +1228,7 @@ sub _find_packages_obsoleting {
my ($urpm, $state, $p) = @_;
grep {
+ $_ &&
!$_->flag_skip
&& $_->is_arch_compat
&& !exists $state->{rejected}{$_->fullname}