dovecot-sieve-1.0: If compiled script has the exact same mtime a...

dovecot at dovecot.org dovecot at dovecot.org
Tue Apr 1 16:52:36 EEST 2008


details:   http://hg.dovecot.org/dovecot-sieve-1.0/rev/9dd6226f6ace
changeset: 32:9dd6226f6ace
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Apr 01 16:52:33 2008 +0300
description:
If compiled script has the exact same mtime as the source, assume the script
hasn't changed.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/sieve-cmu.c |    2 +-

diffs (12 lines):

diff -r 1cd0bb22b9fb -r 9dd6226f6ace src/sieve-cmu.c
--- a/src/sieve-cmu.c	Mon Feb 25 14:29:28 2008 +0200
+++ b/src/sieve-cmu.c	Tue Apr 01 16:52:33 2008 +0300
@@ -538,7 +538,7 @@ dovecot_sieve_compile(sieve_interp_t *in
 			return -1;
 		}
 	} else {
-		if (st.st_mtime < st2.st_mtime)
+		if (st.st_mtime <= st2.st_mtime)
 			return 1;
 	}
 


More information about the dovecot-cvs mailing list