You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by si...@apache.org on 2007/07/04 22:12:17 UTC

svn commit: r553320 - /spamassassin/branches/3.2/build/mkrules

Author: sidney
Date: Wed Jul  4 13:12:16 2007
New Revision: 553320

URL: http://svn.apache.org/viewvc?view=rev&rev=553320
Log:
bug5546: mkrules doesn't take mod time of rules/active.list file into account

Modified:
    spamassassin/branches/3.2/build/mkrules

Modified: spamassassin/branches/3.2/build/mkrules
URL: http://svn.apache.org/viewvc/spamassassin/branches/3.2/build/mkrules?view=diff&rev=553320&r1=553319&r2=553320
==============================================================================
--- spamassassin/branches/3.2/build/mkrules (original)
+++ spamassassin/branches/3.2/build/mkrules Wed Jul  4 13:12:16 2007
@@ -141,6 +141,14 @@
   }
 }
 
+# check mtime on the active.list file, too
+{
+  my @st = stat $opt_active;
+  if ($st[9] && $st[9] > $newest_src_mtime) {
+    $newest_src_mtime = $st[9];
+  }
+}
+
 # check mtimes, and also require that the two required output files
 # really do exist
 if ($newest_src_mtime && $newest_out_mtime