aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2012-11-04 12:02:26 -0400
committerJoey Hess <joey@kitenet.net>2012-11-04 12:02:26 -0400
commit286026877d9e7d520cab5fde173585903b0d32a9 (patch)
tree5c04e00ccec8fa4e1e4a737a166958a0c4408436
parent3b120dd7677e0197aff9e0f73fe43427d3cc1f9c (diff)
downloadikiwiki-286026877d9e7d520cab5fde173585903b0d32a9.tar
ikiwiki-286026877d9e7d520cab5fde173585903b0d32a9.tar.gz
filecheck: Fix bug that prevented File::MimeInfo::Magic from ever being used.
-rw-r--r--IkiWiki/Plugin/filecheck.pm2
-rw-r--r--debian/changelog7
-rw-r--r--doc/bugs/Slow_Filecheck_attachments___34__snails_it_all__34__.mdwn3
3 files changed, 11 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/filecheck.pm b/IkiWiki/Plugin/filecheck.pm
index 9992f2c26..cdea5c706 100644
--- a/IkiWiki/Plugin/filecheck.pm
+++ b/IkiWiki/Plugin/filecheck.pm
@@ -139,7 +139,7 @@ sub match_mimetype ($$;@) {
my $mimeinfo_ok=! $@;
my $mimetype;
if ($mimeinfo_ok) {
- my $mimetype=File::MimeInfo::Magic::magic($file);
+ $mimetype=File::MimeInfo::Magic::magic($file);
}
# Fall back to using file, which has a more complete
diff --git a/debian/changelog b/debian/changelog
index a865d311c..3e6075631 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+ikiwiki (3.20121018) UNRELEASED; urgency=low
+
+ * filecheck: Fix bug that prevented File::MimeInfo::Magic from ever
+ being used.
+
+ -- Joey Hess <joeyh@debian.org> Sun, 04 Nov 2012 11:59:10 -0400
+
ikiwiki (3.20121017) unstable; urgency=low
* recentchangesdiff: fix further breakage to the template from 3.20120725
diff --git a/doc/bugs/Slow_Filecheck_attachments___34__snails_it_all__34__.mdwn b/doc/bugs/Slow_Filecheck_attachments___34__snails_it_all__34__.mdwn
index 8be0d84da..e93f4e546 100644
--- a/doc/bugs/Slow_Filecheck_attachments___34__snails_it_all__34__.mdwn
+++ b/doc/bugs/Slow_Filecheck_attachments___34__snails_it_all__34__.mdwn
@@ -42,3 +42,6 @@ I found on [[plugins/filecheck/discussion/]] what [[users/DavidBremner/]] descri
But I can't figure out if my issue is boarder and includes this or not..
Any ideas , solve :) more that welcome.
+
+> [[done]], as isbear noted in [[discussion]], there was a bug that
+> prevented File::MimeInfo::Magic from ever being used. --[[Joey]]