summaryrefslogtreecommitdiffstats
path: root/perl-install/install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-03-24 16:34:26 +0000
committerThierry Vignaud <tv@mandriva.org>2009-03-24 16:34:26 +0000
commitc02b52c18e911bf8de066488c889e0f7deb05577 (patch)
tree625e69a0552dfdd33d776b479272dba99b4b11c7 /perl-install/install
parent756338237b7adce5ce82b608408f0fc9d15f45e1 (diff)
downloaddrakx-c02b52c18e911bf8de066488c889e0f7deb05577.tar
drakx-c02b52c18e911bf8de066488c889e0f7deb05577.tar.gz
drakx-c02b52c18e911bf8de066488c889e0f7deb05577.tar.bz2
drakx-c02b52c18e911bf8de066488c889e0f7deb05577.tar.xz
drakx-c02b52c18e911bf8de066488c889e0f7deb05577.zip
(_install_raw) log packages' scripts output (perl-URPM/urpmi aren't
regarding script fd leak but older installer was leaking one fd per transaction too)
Diffstat (limited to 'perl-install/install')
-rw-r--r--perl-install/install/NEWS4
-rw-r--r--perl-install/install/pkgs.pm2
2 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index da34eb7d9..f6177a9b4 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,7 @@
+- log packages' scripts output (perl-URPM/urpmi aren't regarding
+ script fd leak but older installer was leaking one fd per
+ transaction too)
+
Version 12.17.3 - 23 March 2009
- fix empty tree at "Individual package selection" step (#48672)
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm
index 0947d14e5..66012ff52 100644
--- a/perl-install/install/pkgs.pm
+++ b/perl-install/install/pkgs.pm
@@ -731,7 +731,7 @@ sub _install_raw {
# let's be urpmi's compatible:
local $packages->{options}{noscripts} = $noscripts;
# leaks a fd per transaction:
- #local $packages->{options}{script_fd} = fileno $LOG;
+ local $packages->{options}{script_fd} = fileno $LOG;
my ($retry, $retry_count);