From c02b52c18e911bf8de066488c889e0f7deb05577 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 24 Mar 2009 16:34:26 +0000 Subject: (_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) --- perl-install/install/NEWS | 4 ++++ perl-install/install/pkgs.pm | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'perl-install') 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); -- cgit v1.2.1