[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#106536: 2.4.9 out, fixes important bug in mhnull.pl



Package: mhonarc
Version: 2.4.8-1
Severity: important

mhonarc 2.4.8 introduced a bug
that was fixed in 2.4.9. Here is a snippet of
the relevant bug report at  http://www.mhonarc.org/MHonArc/BUGS
Since this bug completely breaks my mail list indexer I 
consider it "important". But perhaps my configuration is
strange. I don't know when mhnull.pl is called...

Version:	2.4.8
Problem:   	MHonArc aborts with Perl syntax errors if mhnull.pl
		filter is loaded.
Solution:	Dump typo errors that should have been caught before
		release.  Syntax errors fixed in mhnull.pl.
Version Fixed:	2.4.9


This patch seems to work. It simply updates mhnull.pl to the version
distributed in 2.4.9. Obviously it would be better to rebuild 
the .deb using 2.4.9. 

--- mhnull.pl   Thu Apr 19 11:44:05 2001
+++ /home/doug/MHonArc2.4.9/lib/mhnull.pl       Mon Jun 11 01:11:25 2001
@@ -1,6 +1,6 @@
 ##---------------------------------------------------------------------------##
 ##  File:
-##     @(#) mhnull.pl 1.4 01/04/10 21:36:50
+##     @(#) mhnull.pl 1.5 01/06/10 17:35:03
 ##  Author:
 ##      Earl Hood       mhonarc@pobox.com
 ##  Description:
@@ -34,10 +34,10 @@
 
 sub filter {
     local($header, *fields, *data, $isdecode, $args) = @_;
-    my($ctype) = ($fields{'content-type'} =~ m%^\s*([\w\-\./]+)%;
+    my($ctype) = $fields{'content-type'} =~ m%^\s*([\w\-\./]+)%;
     my($disp, $nameparm) = &readmail::MAILhead_get_disposition(*fields);
     join("", '<p><tt>&lt;&lt;',
-            ($disp ? "$disp: ", ""),
+            ($disp ? "$disp: " : ""),
             ($nameparm ? $nameparm : $ctype),
             '&gt;&gt;</tt></p>');
 }

-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux ruchetta 2.4.6 #1 Tue Jul 10 11:45:46 CEST 2001 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages mhonarc depends on:
ii  libdigest-md5-perl            2.13-2     MD5 Message Digest for Perl       
ii  perl                          5.6.1-5    Larry Wall's Practical Extraction 









Reply to: