aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-02-13 22:40:56 +0000
committerThierry Vignaud <tv@mandriva.org>2009-02-13 22:40:56 +0000
commit0bd5c2e9b7925455bc0e8b6ca9a06c9e7515511b (patch)
tree3b6221f7b60e30e0cf697552cd86fff1c1e9053f
parente277b9221b181423efe51519c2fcc8f16dec5f1c (diff)
downloadrpmdrake-0bd5c2e9b7925455bc0e8b6ca9a06c9e7515511b.tar
rpmdrake-0bd5c2e9b7925455bc0e8b6ca9a06c9e7515511b.tar.gz
rpmdrake-0bd5c2e9b7925455bc0e8b6ca9a06c9e7515511b.tar.bz2
rpmdrake-0bd5c2e9b7925455bc0e8b6ca9a06c9e7515511b.tar.xz
rpmdrake-0bd5c2e9b7925455bc0e8b6ca9a06c9e7515511b.zip
(perform_installation) fix crashing on uninstalling packages (#47751)
-rw-r--r--NEWS1
-rw-r--r--Rpmdrake/pkg.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index dabf4021..6088110c 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+- fix crashing on uninstalling packages (#47751)
- prevent crashing in URPM when using --env with relative paths
- edit-urpm-sources:
o do not use the same shortcut for "Add a specific "media mirror"
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 217c1f2e..edef6254 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -723,7 +723,7 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-(
};
my $exit_code =
- urpm::main_loop::run($urpm, $state, 1, undef, $requested,
+ urpm::main_loop::run($urpm, $state, 1, [ ], $requested,
{
completed => sub {
# explicitly destroy the progress window when it's over; we may