Re: mbox etc.

From: Peter C. McCluskey <pcm_at_rahul.net_at_hypermail-project.org>
Date: Mon, 6 Mar 2000 13:32:50 -0800 (PST)
Message-Id: <20000306213250.016A1AD_at_foxtrot.rahul.net>

 jpl_at_vectorbd.com (Jim Lill) writes:
>
>I tried to run the existing hypetombox.pl on some stuff from 1997 made
>with 1.02 or 1.03 and then take the mbox and run it thru 2b29. The
>threading is crazy. Is that a fact of life?

 hypetombox.pl has been reusing inreplyto's from prior messages when a message has no inreplyto, which causes some crazy threading.  Here's a patch which fixes that, and also fixes a bug which rejected some subject lines. Could someone please check this in to cvs?

     $state = 'HeaderComments';

+    foreach $fld (_at_fields)
+    {
+	$$fld = '';
+    }
 
     my $line;
 
_at_@ -69,7 +73,7 @@
 	# same name.
 
 	if($state eq 'HeaderComments'
-	   && ($line =~ /^<!-- (\w+)="([^\"]+)" -->$/)) {
+	   && ($line =~ /^<!-- (\w+)="(.+)" -->$/)) {
             $key = $1;
             $value = $2;
             $value =~ s/&amp;/&/g;


-- 
------------------------------------------------------------------------
Peter McCluskey          | Boycott Amazon.com until they stop suing
http://www.rahul.net/pcm | companies that support 1-click shopping.
Received on Mon 06 Mar 2000 11:34:31 PM GMT

This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:52 PM GMT GMT