diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-11-29 11:51:16 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-11-29 11:51:16 +0000 |
commit | 1c8af50afa7088c95428f25904763f57ad8bcc55 (patch) | |
tree | bb818ef8940ae1a34a495270cc5c17e34610dcde | |
parent | 510b6b74d5d29a1695d76ab3732b57826b5ffe91 (diff) | |
download | urpmi-1c8af50afa7088c95428f25904763f57ad8bcc55.tar urpmi-1c8af50afa7088c95428f25904763f57ad8bcc55.tar.gz urpmi-1c8af50afa7088c95428f25904763f57ad8bcc55.tar.bz2 urpmi-1c8af50afa7088c95428f25904763f57ad8bcc55.tar.xz urpmi-1c8af50afa7088c95428f25904763f57ad8bcc55.zip |
further explain the fd leak hack comment
-rwxr-xr-x | urpmi | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -329,8 +329,9 @@ if (exists $urpm->{options}{'priority-upgrade'} && $urpm->{options}{'priority-up # we were run with --no-priority-upgrade (we were just restarted.) # so, no need to update the media again $auto_update = 0; - # temporary hack : if we were using an old version of URPM, file handles - # might have leaked, so close them (with some heuristics.) + # temporary hack : if we were using an old version of URPM (eg: when + # upgrading from 2006), file handles might have leaked, so close them (with + # some heuristics.) require urpm::sys; urpm::sys::fix_fd_leak(); # also, clean up rpm db log files, because rpm might have been upgraded |