summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-07-28 21:01:56 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-07-28 21:01:56 +0000
commitc0f88082323b74d934c8c2d50666418bcd56b3c9 (patch)
tree1c0749dd62dc2995713ff604742978747133d987
parent80d4d1d26de5da6416793a93d14c62d44ca064b2 (diff)
* Various minor bug fixes for silly mistakes in the code, thanks to the
various reviewers.
-rw-r--r--IkiWiki/Plugin/aggregate.pm4
-rw-r--r--debian/changelog7
-rw-r--r--doc/bugs/weird_syntax_in_aggregate.pm.mdwn4
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 (<IN>) {
$_=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 <joeyh@debian.org> 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]]