[dovecot-cvs] dovecot/src/lib-index mail-index.h,1.72,1.73

cras at procontrol.fi cras at procontrol.fi
Mon Apr 21 17:42:02 EEST 2003


Update of /home/cvs/dovecot/src/lib-index
In directory danu:/tmp/cvs-serv12707/lib-index

Modified Files:
	mail-index.h 
Log Message:
Use mtime to check changes in dovecot-uidlist file rather than inode changes
which aren't reliable.



Index: mail-index.h
===================================================================
RCS file: /home/cvs/dovecot/src/lib-index/mail-index.h,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -d -r1.72 -r1.73
--- mail-index.h	9 Apr 2003 20:13:02 -0000	1.72
+++ mail-index.h	21 Apr 2003 13:42:00 -0000	1.73
@@ -394,9 +394,7 @@
 	ino_t mbox_ino;
 
 	/* last maildir sync: */
-	dev_t uidlist_dev;
-	ino_t uidlist_ino;
-
+	time_t uidlist_mtime;
 	int maildir_lock_fd;
 
 	int fd; /* opened index file */
@@ -445,7 +443,7 @@
 	0, 0, 0, 0, 0, 0, { 0, 0, 0 }, 0, 0, \
 	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
 	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
-	0, 0, 0, 0, 0, 0, 0, 0, 0
+	0, 0, 0, 0, 0, 0, 0, 0
 #endif
 
 /* defaults - same as above but prefixed with mail_index_. */




More information about the dovecot-cvs mailing list