* Fix an infinite loop in the aggregator when finding a unique filename.

master
joey 2006-08-16 17:37:36 +00:00
parent df30eda283
commit 53cf5ca9a3
2 changed files with 3 additions and 2 deletions

View File

@ -267,7 +267,7 @@ sub add_page (@) { #{{{
$page=$feed->{dir}."/item"; $page=$feed->{dir}."/item";
} }
my $c=""; my $c="";
while (exists $IkiWiki::pagecase{lc $page} || while (exists $IkiWiki::pagecase{lc $page.$c} ||
-e pagefile($page.$c)) { -e pagefile($page.$c)) {
$c++ $c++
} }

3
debian/changelog vendored
View File

@ -2,8 +2,9 @@ ikiwiki (1.19) UNRELEASED; urgency=low
* Fix several related bugs in page type determination during online editing. * Fix several related bugs in page type determination during online editing.
* Add some locking to prevent 2 aggregators from running at once. * Add some locking to prevent 2 aggregators from running at once.
* Fix an infinite loop in the aggregator when finding a unique filename.
-- Joey Hess <joeyh@debian.org> Wed, 16 Aug 2006 13:28:34 -0400 -- Joey Hess <joeyh@debian.org> Wed, 16 Aug 2006 13:32:27 -0400
ikiwiki (1.18) unstable; urgency=low ikiwiki (1.18) unstable; urgency=low