From 1c8af50afa7088c95428f25904763f57ad8bcc55 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 29 Nov 2006 11:51:16 +0000 Subject: further explain the fd leak hack comment --- urpmi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'urpmi') diff --git a/urpmi b/urpmi index c6ceff6c..9f0ec5bc 100755 --- a/urpmi +++ b/urpmi @@ -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 -- cgit v1.2.1