diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-11-24 21:15:07 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-11-24 21:15:07 +0000 |
commit | ea603b76734ee0a47b6e3e42f9f7dbde80196324 (patch) | |
tree | a16056325df328abb9cd33eaeb9ae548a6070942 | |
parent | 3ebc68f21b99e748fc08f8132da4a125830b152f (diff) | |
download | rpmdrake-ea603b76734ee0a47b6e3e42f9f7dbde80196324.tar rpmdrake-ea603b76734ee0a47b6e3e42f9f7dbde80196324.tar.gz rpmdrake-ea603b76734ee0a47b6e3e42f9f7dbde80196324.tar.bz2 rpmdrake-ea603b76734ee0a47b6e3e42f9f7dbde80196324.tar.xz rpmdrake-ea603b76734ee0a47b6e3e42f9f7dbde80196324.zip |
(do_search) when performing search in names, only look at name, not at
full name (n-e-v-r) (#45410)
-rw-r--r-- | NEWS | 4 | ||||
-rwxr-xr-x | rpmdrake | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +- rpmdrake: + o only look at name, not at full name (n-e-v-r) when performing + search in names (#45410) + Version 5.4 - 24 November 2008, Thierry Vignaud - edit-urpm-sources: @@ -72,7 +72,7 @@ sub do_search($$$$$$$) { if ($current_search_type eq 'normal') { my $count; foreach (@filtered_pkgs) { - next if !/$entry_rx/; + next if first(split_fullname($_)) !~ /$entry_rx/; push @search_results, $_; # FIXME: should be done for all research types last if $count++ > 2000; |