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

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


details:   http://hg.dovecot.org/dovecot-sieve-1.1/rev/841220f564e4
changeset: 53:841220f564e4
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 a9e43a2cb235 -r 841220f564e4 src/sieve-cmu.c
--- a/src/sieve-cmu.c	Mon Feb 25 21:49:57 2008 +0200
+++ b/src/sieve-cmu.c	Tue Apr 01 16:52:33 2008 +0300
@@ -869,7 +869,7 @@ dovecot_sieve_compile(script_data_t *sda
 			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