[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-transaction.c, 1.16, 1.17
tss at dovecot.org
tss at dovecot.org
Sat Mar 10 17:47:35 EET 2007
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-transaction.c, 1.13, 1.13.2.1
- Next message: [dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-sync-parse.c, 1.49.2.7, 1.49.2.8 mbox-sync-private.h, 1.56.2.7, 1.56.2.8 mbox-sync-rewrite.c, 1.62.2.11, 1.62.2.12 mbox-sync-update.c, 1.46.2.3, 1.46.2.4 mbox-sync.c, 1.181.2.14, 1.181.2.15
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv4095
Modified Files:
mbox-transaction.c
Log Message:
After saving mails we didn't update last-uid header in X-IMAP[base] if lazy
writes were used.
Index: mbox-transaction.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-transaction.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- mbox-transaction.c 25 Nov 2006 22:17:45 -0000 1.16
+++ mbox-transaction.c 10 Mar 2007 15:47:32 -0000 1.17
@@ -49,8 +49,10 @@
mbox_sync_flags |= MBOX_SYNC_UNDIRTY;
if ((flags & MAILBOX_SYNC_FLAG_FULL_WRITE) != 0)
mbox_sync_flags |= MBOX_SYNC_REWRITE;
- if (mbox_modified)
- mbox_sync_flags |= MBOX_SYNC_HEADER;
+ if (mbox_modified) {
+ /* after saving mails we want to update the last-uid */
+ mbox_sync_flags |= MBOX_SYNC_HEADER | MBOX_SYNC_REWRITE;
+ }
if (mbox_sync(mbox, mbox_sync_flags) < 0)
ret = -1;
}
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-transaction.c, 1.13, 1.13.2.1
- Next message: [dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-sync-parse.c, 1.49.2.7, 1.49.2.8 mbox-sync-private.h, 1.56.2.7, 1.56.2.8 mbox-sync-rewrite.c, 1.62.2.11, 1.62.2.12 mbox-sync-update.c, 1.46.2.3, 1.46.2.4 mbox-sync.c, 1.181.2.14, 1.181.2.15
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list