You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by fe...@apache.org on 2004/07/14 02:37:55 UTC
svn commit: rev 22886 - spamassassin/trunk/lib/Mail
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.