From f758b467d47b17080b273204cd44dec25111347e Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Wed, 31 Mar 2010 12:52:14 +0000 Subject: [urpmf] in "fast mode", look in package names as well as filenames urpmf foo used to be looking for foo in both package names and filenames, and to return all files in the package when the package name matched. The behaviour changed at some point, restore the old behaviour (#58313) --- urpmf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'urpmf') diff --git a/urpmf b/urpmf index b40ff2aa..b461b085 100755 --- a/urpmf +++ b/urpmf @@ -324,14 +324,14 @@ if ($needed_media_info{hdlist}) { $urpm->{log}("getting information from $xml_info_file"); if ($only_simple_files_search) { # special version for speed (3x faster), hopefully fully compatible - my $code = sprintf(<<'EOF', $expr); + my $code = sprintf(<<'EOF', $expr, $expr); my $F = urpm::xml_info::open_lzma($xml_info_file); my $fn; local $_; while (<$F>) { if (m!^{fatal}(1, "fast algorithm is broken, please report a bug"); my $pkg = urpm::xml_info_pkg->new({ fn => $fn }); print $pkg->name, ':', $_; -- cgit v1.2.1