summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-03-25 14:44:17 +0000
committerThierry Vignaud <tv@mandriva.org>2009-03-25 14:44:17 +0000
commite04583c61792f0f03cbaacbe5570b1ddb2830a2d (patch)
treef3116a0be31bac35dfe59681819d42f8002f9a2c
parentf30c8b1c5e765f15341c189d074d85a9a9c1674f (diff)
downloaddrakx-backup-do-not-use-e04583c61792f0f03cbaacbe5570b1ddb2830a2d.tar
drakx-backup-do-not-use-e04583c61792f0f03cbaacbe5570b1ddb2830a2d.tar.gz
drakx-backup-do-not-use-e04583c61792f0f03cbaacbe5570b1ddb2830a2d.tar.bz2
drakx-backup-do-not-use-e04583c61792f0f03cbaacbe5570b1ddb2830a2d.tar.xz
drakx-backup-do-not-use-e04583c61792f0f03cbaacbe5570b1ddb2830a2d.zip
(_install_raw) add details about the fd leak
-rw-r--r--perl-install/install/pkgs.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm
index 66012ff52..1bba47d73 100644
--- a/perl-install/install/pkgs.pm
+++ b/perl-install/install/pkgs.pm
@@ -730,7 +730,8 @@ sub _install_raw {
# let's be urpmi's compatible:
local $packages->{options}{noscripts} = $noscripts;
- # leaks a fd per transaction:
+ # leaks a fd per transaction (around ~100 for a typically gnome install, see #49097):
+ # bug present in 2009.0, 2008.1, 2008.0, ... (probably since r11141 aka when switching to rpm-4.2 in URPM-0.83)
local $packages->{options}{script_fd} = fileno $LOG;
my ($retry, $retry_count);