# register a dependency.
add_depends($params{page}, $params{pages});
- my @pages=pagespec_match_list([keys %pagesources], $params{pages}, location => $params{page})
- if $params{pages} ne "*"; # optimisation;
+ my @pages;
+ if ($params{pages} eq "*") {
+ @pages=keys %pagesources;
+ }
+ else {
+ @pages=pagespec_match_list([keys %pagesources], $params{pages}, location => $params{page});
+ }
return $#pages+1;
}
setup file can be loaded and that its config is ok. If a plugin
fails for any reason, disable it in the generated file.
Closes: 532001
+ * pagecount: Fix broken optimisation for * pagespec.
-- Joey Hess <joeyh@debian.org> Tue, 02 Jun 2009 17:03:41 -0400