mhonarc-commits
[Top] [All Lists]

CVS: mhonarc/MHonArc/lib mhamain.pl,2.95,2.96 mhopt.pl,2.65,2.66 mhrcfile.p...

2010-12-31 15:37:03
Update of mhonarc/MHonArc/lib
Modified Files:
	mhamain.pl mhopt.pl mhrcfile.pl 
Log Message:
Bug #25486: Remove duplicate entries in FIELDSTORE resource (and
also remove dups from FIELDORDER).  Make sure extra field data
is removed when message is removed from archive.

Also fixed unreported problem of reseting DEFINEVAR hash when
override attribute is specified.


======================================================================
FILE: mhonarc/MHonArc/lib/mhamain.pl
<http://www.mhonarc.org/cgi-bin/viewcvs.cgi/*checkout*/mhonarc/MHonArc/lib/mhamain.pl?rev=2.96>

<http://www.mhonarc.org/cgi-bin/viewcvs.cgi/mhonarc/MHonArc/lib/mhamain.pl.diff?r1=2.95&r2=2.96&diff_format=h>
--- mhamain.pl	31 Dec 2010 20:33:59 -0000	2.95
+++ mhamain.pl	31 Dec 2010 21:37:00 -0000	2.96
@@ -1471,4 +1471,5 @@
     delete $Refs{$key};
     delete $Subject{$key};
+    delete $ExtraHFields{$key};
     delete $MsgId{$Index2MsgId{$key}};
 

======================================================================
FILE: mhonarc/MHonArc/lib/mhopt.pl
<http://www.mhonarc.org/cgi-bin/viewcvs.cgi/*checkout*/mhonarc/MHonArc/lib/mhopt.pl?rev=2.66>

<http://www.mhonarc.org/cgi-bin/viewcvs.cgi/mhonarc/MHonArc/lib/mhopt.pl.diff?r1=2.65&r2=2.66&diff_format=h>
--- mhopt.pl	31 Dec 2010 20:34:00 -0000	2.65
+++ mhopt.pl	31 Dec 2010 21:37:00 -0000	2.66
@@ -712,4 +712,8 @@
     }
 
+    ## Clean up list-based resources
+    @ExtraHFields = remove_dups(\(_at_)ExtraHFields);
+    @FieldOrder   = remove_dups(\(_at_)FieldOrder);
+
     ## Set date names
     &set_date_names(\(_at_)weekdays, \(_at_)Weekdays, \(_at_)months, \(_at_)Months);

======================================================================
FILE: mhonarc/MHonArc/lib/mhrcfile.pl
<http://www.mhonarc.org/cgi-bin/viewcvs.cgi/*checkout*/mhonarc/MHonArc/lib/mhrcfile.pl?rev=2.48>

<http://www.mhonarc.org/cgi-bin/viewcvs.cgi/mhonarc/MHonArc/lib/mhrcfile.pl.diff?r1=2.47&r2=2.48&diff_format=h>
--- mhrcfile.pl	31 Dec 2010 20:34:00 -0000	2.47
+++ mhrcfile.pl	31 Dec 2010 21:37:00 -0000	2.48
@@ -218,5 +218,5 @@
         }
         if ($elem eq 'definevar') {             # Custom resource variable
-            @CustomRcVars = ()  if $override;
+            %CustomRcVars = ()  if $override;
             $line = <$handle>;
             last FMTSW if $line =~ /^\s*<\/definevar\s*>/i;

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-COMMITS