[dovecot-cvs] dovecot/src/lib-storage/index/dbox dbox-uidlist.c,
1.27, 1.28
cras at dovecot.org
cras at dovecot.org
Wed May 3 21:59:41 EEST 2006
- Previous message: [dovecot-cvs] dovecot/src/lib-index mail-index-private.h, 1.68,
1.69 mail-index-sync-private.h, 1.28,
1.29 mail-index-sync-update.c, 1.94,
1.95 mail-index-view-private.h, 1.21,
1.22 mail-index-view-sync.c, 1.51, 1.52 mail-index-view.c,
1.43, 1.44
- Next message: [dovecot-cvs] dovecot/src/lib-index mail-index-sync-update.c, 1.95,
1.96
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib-storage/index/dbox
In directory talvi:/tmp/cvs-serv21085/lib-storage/index/dbox
Modified Files:
dbox-uidlist.c
Log Message:
Fix
Index: dbox-uidlist.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/dbox/dbox-uidlist.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- dbox-uidlist.c 27 Apr 2006 12:44:19 -0000 1.27
+++ dbox-uidlist.c 3 May 2006 18:59:38 -0000 1.28
@@ -1153,6 +1153,7 @@
{
/* Note that unless uidlist is locked, it's not guaranteed that this
actually returns a new unused file sequence. */
+ i_assert(uidlist->file_seq_highwater >= uidlist->last_file_seq);
return ++uidlist->file_seq_highwater;
}
@@ -1270,6 +1271,8 @@
if (new_entry->file_seq > ctx->uidlist->last_file_seq)
ctx->uidlist->last_file_seq = new_entry->file_seq;
+ if (new_entry->file_seq > ctx->uidlist->file_seq_highwater)
+ ctx->uidlist->file_seq_highwater = new_entry->file_seq;
dbox_uidlist_update_last_uid(ctx->uidlist, new_entry);
entries = array_get(&ctx->uidlist->entries, &count);
- Previous message: [dovecot-cvs] dovecot/src/lib-index mail-index-private.h, 1.68,
1.69 mail-index-sync-private.h, 1.28,
1.29 mail-index-sync-update.c, 1.94,
1.95 mail-index-view-private.h, 1.21,
1.22 mail-index-view-sync.c, 1.51, 1.52 mail-index-view.c,
1.43, 1.44
- Next message: [dovecot-cvs] dovecot/src/lib-index mail-index-sync-update.c, 1.95,
1.96
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list