[dovecot-cvs] dovecot/src/lib-index mail-index.c,1.147,1.148
cras at dovecot.org
cras at dovecot.org
Thu Sep 23 23:27:03 EEST 2004
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-sync-parse.c,
1.26, 1.27 mbox-sync-private.h, 1.31, 1.32 mbox-sync.c, 1.86, 1.87
- Next message: [dovecot-cvs] dovecot/src/imap cmd-logout.c, 1.4, 1.5 cmd-select.c,
1.31, 1.32
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib-index
In directory talvi:/tmp/cvs-serv16541
Modified Files:
mail-index.c
Log Message:
mail_index_map_to_memory() didn't resize record if mapping was already in
memory.
Index: mail-index.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-index.c,v
retrieving revision 1.147
retrieving revision 1.148
diff -u -d -r1.147 -r1.148
--- mail-index.c 21 Sep 2004 14:40:06 -0000 1.147
+++ mail-index.c 23 Sep 2004 20:26:59 -0000 1.148
@@ -637,7 +637,8 @@
size_t size, copy_size;
unsigned int i, count;
- if (MAIL_INDEX_MAP_IS_IN_MEMORY(map)) {
+ if (MAIL_INDEX_MAP_IS_IN_MEMORY(map) &&
+ map->hdr->record_size == new_record_size) {
map->refcount++;
return map;
}
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-sync-parse.c,
1.26, 1.27 mbox-sync-private.h, 1.31, 1.32 mbox-sync.c, 1.86, 1.87
- Next message: [dovecot-cvs] dovecot/src/imap cmd-logout.c, 1.4, 1.5 cmd-select.c,
1.31, 1.32
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list