dovecot-2.2-pigeonhole: lib-sieve: file storage: Forgot to compa...
pigeonhole at rename-it.nl
pigeonhole at rename-it.nl
Sat Mar 14 13:49:44 UTC 2015
details: http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/38689335cc93
changeset: 2009:38689335cc93
user: Stephan Bosch <stephan at rename-it.nl>
date: Thu Mar 12 22:14:44 2015 +0100
description:
lib-sieve: file storage: Forgot to compare stat.st_dev in equals() method.
diffstat:
src/lib-sieve/storage/file/sieve-file-script.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r 16dfb44e0c1b -r 38689335cc93 src/lib-sieve/storage/file/sieve-file-script.c
--- a/src/lib-sieve/storage/file/sieve-file-script.c Thu Mar 12 21:42:31 2015 +0100
+++ b/src/lib-sieve/storage/file/sieve-file-script.c Thu Mar 12 22:14:44 2015 +0100
@@ -784,7 +784,8 @@
struct sieve_file_script *fother =
(struct sieve_file_script *)other;
- return ( fscript->st.st_ino == fother->st.st_ino );
+ return ( CMP_DEV_T(fscript->st.st_dev, fother->st.st_dev) &&
+ fscript->st.st_ino == fother->st.st_ino );
}
/*
More information about the dovecot-cvs
mailing list