[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-storage.c,
1.94, 1.95 mbox-sync-parse.c, 1.23, 1.24 mbox-sync.c, 1.77, 1.78
cras at dovecot.org
cras at dovecot.org
Sun Sep 5 20:53:48 EEST 2004
- Previous message: [dovecot-cvs] dovecot/src/lib buffer.c,1.16,1.17
- Next message: [dovecot-cvs] dovecot/src/lib-index mail-index-lock.c, 1.31,
1.32 mail-index-private.h, 1.27, 1.28 mail-index-sync-update.c,
1.41, 1.42 mail-index-sync.c, 1.30,
1.31 mail-index-transaction-private.h, 1.10,
1.11 mail-index-transaction-view.c, 1.3,
1.4 mail-index-transaction.c, 1.20,
1.21 mail-index-view-private.h, 1.8,
1.9 mail-index-view-sync.c, 1.19, 1.20 mail-index-view.c, 1.19,
1.20 mail-index.c, 1.144, 1.145 mail-index.h, 1.126,
1.127 mail-transaction-log-view.c, 1.24,
1.25 mail-transaction-log.c, 1.53, 1.54 mail-transaction-log.h,
1.16, 1.17 mail-transaction-util.c, 1.16,
1.17 mail-transaction-util.h, 1.8, 1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv8010/lib-storage/index/mbox
Modified Files:
mbox-storage.c mbox-sync-parse.c mbox-sync.c
Log Message:
Save extra record/header infos into index file permanently.
Index: mbox-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-storage.c,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -d -r1.94 -r1.95
--- mbox-storage.c 3 Sep 2004 20:06:46 -0000 1.94
+++ mbox-storage.c 5 Sep 2004 17:53:46 -0000 1.95
@@ -403,7 +403,7 @@
index = index_storage_alloc(index_dir, path, MBOX_INDEX_PREFIX);
mbox_extra_idx = mail_index_register_record_extra(index, "mbox",
- sizeof(uint64_t));
+ 0, sizeof(uint64_t));
ibox = index_storage_mailbox_init(storage, &mbox_mailbox,
index, name, flags);
if (ibox == NULL)
Index: mbox-sync-parse.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-sync-parse.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- mbox-sync-parse.c 28 Aug 2004 17:41:52 -0000 1.23
+++ mbox-sync-parse.c 5 Sep 2004 17:53:46 -0000 1.24
@@ -515,7 +515,7 @@
if (ibox->md5hdr_extra_idx == 0) {
ibox->md5hdr_extra_idx =
mail_index_register_record_extra(ibox->index,
- "header-md5", 16);
+ "header-md5", 0, 16);
}
if (mail_index_lookup_extra(view, seq, ibox->md5hdr_extra_idx,
Index: mbox-sync.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-sync.c,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -d -r1.77 -r1.78
--- mbox-sync.c 3 Sep 2004 12:34:35 -0000 1.77
+++ mbox-sync.c 5 Sep 2004 17:53:46 -0000 1.78
@@ -338,7 +338,7 @@
return -1;
}
- *offset_r = *((const uint64_t *)data);
+ *offset_r = data == NULL ? 0 : *((const uint64_t *)data);
return 0;
}
@@ -764,7 +764,7 @@
sync_ctx->ibox->md5hdr_extra_idx =
mail_index_register_record_extra(
sync_ctx->ibox->index,
- "header-md5", 16);
+ "header-md5", 0, 16);
}
if (mbox_sync_find_index_md5(sync_ctx,
- Previous message: [dovecot-cvs] dovecot/src/lib buffer.c,1.16,1.17
- Next message: [dovecot-cvs] dovecot/src/lib-index mail-index-lock.c, 1.31,
1.32 mail-index-private.h, 1.27, 1.28 mail-index-sync-update.c,
1.41, 1.42 mail-index-sync.c, 1.30,
1.31 mail-index-transaction-private.h, 1.10,
1.11 mail-index-transaction-view.c, 1.3,
1.4 mail-index-transaction.c, 1.20,
1.21 mail-index-view-private.h, 1.8,
1.9 mail-index-view-sync.c, 1.19, 1.20 mail-index-view.c, 1.19,
1.20 mail-index.c, 1.144, 1.145 mail-index.h, 1.126,
1.127 mail-transaction-log-view.c, 1.24,
1.25 mail-transaction-log.c, 1.53, 1.54 mail-transaction-log.h,
1.16, 1.17 mail-transaction-util.c, 1.16,
1.17 mail-transaction-util.h, 1.8, 1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list