spamassassin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From felic...@apache.org
Subject svn commit: rev 22886 - spamassassin/trunk/lib/Mail
Date Wed, 14 Jul 2004 00:37:55 GMT
Author: felicity
Date: Tue Jul 13 17:37:54 2004
New Revision: 22886

Modified:
   spamassassin/trunk/lib/Mail/SpamAssassin.pm
Log:
bug 3595: sed_path_cache wasn't being invalidated between message runs in daemon mode.  copy_config()
will now invalidate the cache value before restoring the original values if they existed.

Modified: spamassassin/trunk/lib/Mail/SpamAssassin.pm
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin.pm	(original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin.pm	Tue Jul 13 17:37:54 2004
@@ -1721,6 +1721,10 @@
   $source ||= $self->{conf};
   $dest ||= $self->{conf};
 
+  # if the destination sed_path_cache exists, destroy it and only copy
+  # back what should be there...
+  delete $dest->{sed_path_cache};
+
   # Copy the source array to the dest array
   while(my($k,$v) = each %{$source}) {
     # we know the main value doesn't need to get copied.

Mime
View raw message