You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by pd...@apache.org on 2019/06/02 15:50:27 UTC
svn commit: r1860531 - /spamassassin/trunk/masses/rule-qa/corpus-hourly
Author: pds
Date: Sun Jun 2 15:50:27 2019
New Revision: 1860531
URL: http://svn.apache.org/viewvc?rev=1860531&view=rev
Log:
Use file mtime - more accurate
Modified:
spamassassin/trunk/masses/rule-qa/corpus-hourly
Modified: spamassassin/trunk/masses/rule-qa/corpus-hourly
URL: http://svn.apache.org/viewvc/spamassassin/trunk/masses/rule-qa/corpus-hourly?rev=1860531&r1=1860530&r2=1860531&view=diff
==============================================================================
--- spamassassin/trunk/masses/rule-qa/corpus-hourly (original)
+++ spamassassin/trunk/masses/rule-qa/corpus-hourly Sun Jun 2 15:50:27 2019
@@ -336,7 +336,7 @@ sub gen_class {
}
foreach my $srcfile (@spam, @ham) {
- my $file_time = $time{$srcfile};
+ my $file_time = (stat($srcfile))[9];
if ($file_time >= $last_build) {
$needs_rebuild = 1;
last;