[dovecot-cvs] dovecot/src/lib-storage/index index-sync.c,1.34,1.35

cras at procontrol.fi cras at procontrol.fi
Mon May 24 04:50:19 EEST 2004


Update of /home/cvs/dovecot/src/lib-storage/index
In directory talvi:/tmp/cvs-serv13926/lib-storage/index

Modified Files:
	index-sync.c 
Log Message:
Index header changes now go through transaction log. Removed the kludgy
parameters for mail_index_sync_end(). Removed code duplication of syncing
index root mapping and view mapping. Some fixes to handling uidvalidity and
nextuid in syncing.



Index: index-sync.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/index-sync.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- a/index-sync.c	23 May 2004 01:58:32 -0000	1.34
+++ b/index-sync.c	24 May 2004 01:50:16 -0000	1.35
@@ -51,6 +51,8 @@
 			if (sc->update_flags == NULL)
 				break;
 
+			/* FIXME: hide the flag updates for expunged messages */
+
 			if (mail_index_lookup_uid_range(ibox->view,
 							sync.uid1, sync.uid2,
 							&seq1, &seq2) < 0) {
@@ -61,7 +63,6 @@
 			if (seq1 == 0)
 				break;
 
-			/* FIXME: hide the flag updates for expunged messages */
 			for (seq = seq1; seq <= seq2; seq++) {
 				if (mail_index_lookup(ibox->view,
 						      seq, &rec) < 0) {



More information about the dovecot-cvs mailing list