diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-03-04 11:29:33 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-03-04 11:29:33 +0000 |
commit | 6db0ccc0b1e65f82f266981290d18e1fa719bcf1 (patch) | |
tree | baa60b9f7cbc6def9009b1edbe1871ae6764342e /perl-install/install/pkgs.pm | |
parent | 3eafb161b1174108c02b94dbfa49e1c647b777bc (diff) | |
download | drakx-6db0ccc0b1e65f82f266981290d18e1fa719bcf1.tar drakx-6db0ccc0b1e65f82f266981290d18e1fa719bcf1.tar.gz drakx-6db0ccc0b1e65f82f266981290d18e1fa719bcf1.tar.bz2 drakx-6db0ccc0b1e65f82f266981290d18e1fa719bcf1.tar.xz drakx-6db0ccc0b1e65f82f266981290d18e1fa719bcf1.zip |
(_install_raw) do not pass log file fd to urpm::install since it leaks a duplicated fd per transaction
Diffstat (limited to 'perl-install/install/pkgs.pm')
-rw-r--r-- | perl-install/install/pkgs.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm index 897cd8fa1..15556e224 100644 --- a/perl-install/install/pkgs.pm +++ b/perl-install/install/pkgs.pm @@ -716,7 +716,8 @@ sub _install_raw { local $packages->{options}{noscripts} = $noscripts; $urpm::args::options{force_transactions} = 1; local $packages->{options}{ignoresize} = 1; - local $packages->{options}{script_fd} = fileno $LOG; + # leaks a fd per transaction: + #local $packages->{options}{script_fd} = fileno $LOG; local $packages->{options}{'priority-upgrade'}; # prevent priority upgrade # log $trans->add() faillure; FIXME: should we override *urpm::msg::sys_log? local $packages->{error} = \&log::l; |