[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-list.c, 1.31,
1.32
cras at dovecot.org
cras at dovecot.org
Sat Jan 7 02:29:48 EET 2006
Update of /var/lib/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv28456
Modified Files:
mbox-list.c
Log Message:
Comment update
Index: mbox-list.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-list.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- mbox-list.c 7 Jan 2006 00:29:19 -0000 1.31
+++ mbox-list.c 7 Jan 2006 00:29:46 -0000 1.32
@@ -10,6 +10,8 @@
#include <dirent.h>
#include <sys/stat.h>
+/* Assume that if atime < mtime, there are new mails. If it's good enough for
+ UW-IMAP, it's good enough for us. */
#define STAT_GET_MARKED(st) \
((st).st_size == 0 ? MAILBOX_UNMARKED : \
(st).st_atime < (st).st_mtime ? MAILBOX_MARKED : MAILBOX_UNMARKED)
More information about the dovecot-cvs
mailing list