From c0f88082323b74d934c8c2d50666418bcd56b3c9 Mon Sep 17 00:00:00 2001 From: joey Date: Sat, 28 Jul 2007 21:01:56 +0000 Subject: [PATCH] * Various minor bug fixes for silly mistakes in the code, thanks to the various reviewers. --- IkiWiki/Plugin/aggregate.pm | 4 ++-- debian/changelog | 7 +++++++ doc/bugs/weird_syntax_in_aggregate.pm.mdwn | 4 +++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/IkiWiki/Plugin/aggregate.pm b/IkiWiki/Plugin/aggregate.pm index 9636c5f94..6f9c78075 100644 --- a/IkiWiki/Plugin/aggregate.pm +++ b/IkiWiki/Plugin/aggregate.pm @@ -128,8 +128,8 @@ my $state_loaded=0; sub loadstate () { #{{{ return if $state_loaded; if (-e "$config{wikistatedir}/aggregate") { - open (IN, "$config{wikistatedir}/aggregate" || - die "$config{wikistatedir}/aggregate: $!"); + open(IN, "$config{wikistatedir}/aggregate") || + die "$config{wikistatedir}/aggregate: $!"; while () { $_=IkiWiki::possibly_foolish_untaint($_); chomp; diff --git a/debian/changelog b/debian/changelog index 72eeea733..17412d9d0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +ikiwiki (2.6) UNRELEASED; urgency=low + + * Various minor bug fixes for silly mistakes in the code, thanks to the + various reviewers. + + -- Joey Hess Sat, 28 Jul 2007 17:01:35 -0400 + ikiwiki (2.5) unstable; urgency=low * Wrap the editpage template in the standard misctemplate, this allows the diff --git a/doc/bugs/weird_syntax_in_aggregate.pm.mdwn b/doc/bugs/weird_syntax_in_aggregate.pm.mdwn index 2be88cd3b..632ff2c35 100644 --- a/doc/bugs/weird_syntax_in_aggregate.pm.mdwn +++ b/doc/bugs/weird_syntax_in_aggregate.pm.mdwn @@ -4,4 +4,6 @@ It looks like the intent was "open this file, and die if you can't", but I'm pretty sure it actually means "open this file and ignore errors silently". Shouldn't this be `open(IN, $file) || die "$file: $!";` -(i.e. with the parens before the call to `die`)? --Ethan \ No newline at end of file +(i.e. with the parens before the call to `die`)? --Ethan + +> Thanks, [[done]] --[[Joey]] -- 2.32.0.93.g670b81a890