diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-02-23 19:36:31 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-02-23 19:36:31 +0000 |
commit | ba0d82e7ea655b47683097f142e73fd29b684f47 (patch) | |
tree | c2b3c6a18bf474175ecce21b135d6bb01146e651 | |
parent | 913896f312f7689753f56157934529d3a4bce8d5 (diff) |
* Patch from HenrikBrixAndersen to fix a broken use of foreach in the
search plugin.
-rw-r--r-- | IkiWiki/Plugin/search.pm | 5 | ||||
-rw-r--r-- | debian/changelog | 4 | ||||
-rw-r--r-- | doc/bugs/Hyperestraier_search_plug-in_defective.mdwn | 5 |
3 files changed, 10 insertions, 4 deletions
diff --git a/IkiWiki/Plugin/search.pm b/IkiWiki/Plugin/search.pm index 70d05d5a0..61e9214e6 100644 --- a/IkiWiki/Plugin/search.pm +++ b/IkiWiki/Plugin/search.pm @@ -64,8 +64,9 @@ sub change (@) { #{{{ debug(gettext("updating hyperestraier search index")); estcmd("gather -cm -bc -cl -sd", map { - Encode::encode_utf8($config{destdir}."/".$_) - foreach @{$renderedfiles{pagename($_)}}; + map { + Encode::encode_utf8($config{destdir}."/".$_) + } @{$renderedfiles{pagename($_)}}; } @_ ); estcfg(); diff --git a/debian/changelog b/debian/changelog index ead6f6b4d..0005334d9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -34,8 +34,10 @@ ikiwiki (1.44) UNRELEASED; urgency=low (except for commit mails). The CGI then takes care of the updates the commit hook would have done. * French translation update. Closes: #411899 + * Patch from HenrikBrixAndersen to fix a broken use of foreach in the + search plugin. - -- Joey Hess <joeyh@debian.org> Wed, 21 Feb 2007 13:34:09 -0500 + -- Joey Hess <joeyh@debian.org> Fri, 23 Feb 2007 14:34:18 -0500 ikiwiki (1.43) unstable; urgency=low diff --git a/doc/bugs/Hyperestraier_search_plug-in_defective.mdwn b/doc/bugs/Hyperestraier_search_plug-in_defective.mdwn index 7f22e0eaf..fd39ccd3b 100644 --- a/doc/bugs/Hyperestraier_search_plug-in_defective.mdwn +++ b/doc/bugs/Hyperestraier_search_plug-in_defective.mdwn @@ -46,4 +46,7 @@ The patch below fixes this issue: + } @{$renderedfiles{pagename($_)}}; } @_ ); - estcfg();
\ No newline at end of file + estcfg(); + +[[bugs/done]] ; thanks for the patch. Suprised it worked at all since the +bad code was added (did it?) --[[Joey]] |