]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/aggregate.pm
* Fix an infinite loop in the aggregator when finding a unique filename.
[ikiwiki.git] / IkiWiki / Plugin / aggregate.pm
index 23428cb0e7a3d3e59d32931248ec3d97d9654e50..6c9958df8c862249b1c663906e1ac06406f7fd17 100644 (file)
@@ -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++
                }