File openbsd-cache-results-557724 of Package whohas
For OpenBSD, use @name to loop through a cached list,
not @repos which is never populated.
Status: sent upstream
Reported: http://bugs.debian.org/557724
Author: Jonathan Wiltshire <debian@jwiltshire.org.uk>
--- whohas-0.23.orig/program/whohas
+++ whohas-0.23/program/whohas
@@ -789,7 +789,7 @@
close OUT;
}
my $matcher = $_[0];
- for (my $i = 0; $i < @repos; $i++) {
+ for (my $i = 0; $i < @names; $i++) {
if ($names[$i] =~ /$matcher/i) {
&pretty_print($cols,@columns,$distroname,$names[$i],$versions[$i],$sizes[$i],$dates[$i],$repos[$i],$urls[$i]);
}