summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-16 17:37:36 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-16 17:37:36 +0000
commit53cf5ca9a30fe856793d2a38b52c8b78b2aba17b (patch)
treed409bbaa89244b709db60900aa6ad91abe78d0e2 /IkiWiki
parentdf30eda283e4fdb6945508e17ca48ae21528596c (diff)
* Fix an infinite loop in the aggregator when finding a unique filename.
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/aggregate.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/aggregate.pm b/IkiWiki/Plugin/aggregate.pm
index 23428cb0e..6c9958df8 100644
--- a/IkiWiki/Plugin/aggregate.pm
+++ b/IkiWiki/Plugin/aggregate.pm
@@ -267,7 +267,7 @@ sub add_page (@) { #{{{
$page=$feed->{dir}."/item";
}
my $c="";
- while (exists $IkiWiki::pagecase{lc $page} ||
+ while (exists $IkiWiki::pagecase{lc $page.$c} ||
-e pagefile($page.$c)) {
$c++
}