[dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-keywords.c, 1.7, 1.8 maildir-storage.c, 1.127, 1.128 maildir-sync.c, 1.80, 1.81
cras at dovecot.org
cras at dovecot.org
Sun Sep 10 15:33:24 EEST 2006
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-sync-parse.c, 1.52, 1.53 mbox-sync-update.c, 1.48, 1.49 mbox-sync.c, 1.183, 1.184
- Next message: [dovecot-cvs] dovecot/src/lib-storage/index/dbox dbox-keywords.c, 1.4, 1.5 dbox-save.c, 1.18, 1.19 dbox-sync-expunge.c, 1.19, 1.20 dbox-sync-full.c, 1.8, 1.9 dbox-sync.c, 1.21, 1.22 dbox-uidlist.c, 1.38, 1.39
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib-storage/index/maildir
In directory talvi:/tmp/cvs-serv1034/lib-storage/index/maildir
Modified Files:
maildir-keywords.c maildir-storage.c maildir-sync.c
Log Message:
Removed type parameter from ARRAY_CREATE since it's not needed anymore.
Index: maildir-keywords.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/maildir/maildir-keywords.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- maildir-keywords.c 28 Jun 2006 13:10:51 -0000 1.7
+++ maildir-keywords.c 10 Sep 2006 12:33:21 -0000 1.8
@@ -53,8 +53,7 @@
mk->path = i_strconcat(mbox->control_dir,
"/" MAILDIR_KEYWORDS_NAME, NULL);
mk->pool = pool_alloconly_create("maildir keywords", 256);
- ARRAY_CREATE(&mk->list, default_pool,
- const char *, MAILDIR_MAX_KEYWORDS);
+ ARRAY_CREATE(&mk->list, default_pool, MAILDIR_MAX_KEYWORDS);
mk->hash = hash_create(default_pool, mk->pool, 0,
strcase_hash, (hash_cmp_callback_t *)strcasecmp);
return mk;
@@ -318,8 +317,7 @@
ctx->mk = mk;
ctx->index = index;
ctx->keywords = mail_index_get_keywords(index);
- ARRAY_CREATE(&ctx->idx_to_chr, default_pool,
- char, MAILDIR_MAX_KEYWORDS);
+ ARRAY_CREATE(&ctx->idx_to_chr, default_pool, MAILDIR_MAX_KEYWORDS);
return ctx;
}
Index: maildir-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/maildir/maildir-storage.c,v
retrieving revision 1.127
retrieving revision 1.128
diff -u -d -r1.127 -r1.128
--- maildir-storage.c 23 Aug 2006 19:44:27 -0000 1.127
+++ maildir-storage.c 10 Sep 2006 12:33:21 -0000 1.128
@@ -799,7 +799,7 @@
is being modified. this doesn't protect against modifications by
other processes though. */
pool = pool_alloconly_create("Maildir subfolders list", 1024);
- ARRAY_CREATE(&names_arr, default_pool, const char *, 64);
+ ARRAY_CREATE(&names_arr, default_pool, 64);
ctx = maildir_mailbox_list_init(&storage->storage, oldname,
MAILDIR_FS_SEP_S"*",
MAILBOX_LIST_FAST_FLAGS);
Index: maildir-sync.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/maildir/maildir-sync.c,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -d -r1.80 -r1.81
--- maildir-sync.c 28 Jun 2006 13:10:52 -0000 1.80
+++ maildir-sync.c 10 Sep 2006 12:33:21 -0000 1.81
@@ -412,7 +412,7 @@
fname++;
dir = t_strdup_until(path, fname);
- ARRAY_CREATE(&keywords, pool_datastack_create(), unsigned int, 16);
+ ARRAY_CREATE(&keywords, pool_datastack_create(), 16);
(void)maildir_filename_get_flags(ctx->keywords_sync_ctx,
fname, &flags, &keywords);
flags8 = flags;
@@ -583,8 +583,7 @@
if (ret <= 0)
return ret;
- ARRAY_CREATE(&ctx->sync_recs, pool_datastack_create(),
- struct mail_index_sync_rec, 32);
+ ARRAY_CREATE(&ctx->sync_recs, pool_datastack_create(), 32);
do {
if (maildir_sync_record(ctx, &sync_rec) < 0)
return -1;
@@ -964,10 +963,9 @@
mail_index_transaction_begin(sync_ctx->view, FALSE, TRUE);
seq = 0;
- ARRAY_CREATE(&keywords, pool_datastack_create(),
- unsigned int, MAILDIR_MAX_KEYWORDS);
+ ARRAY_CREATE(&keywords, pool_datastack_create(), MAILDIR_MAX_KEYWORDS);
ARRAY_CREATE(&idx_keywords, pool_datastack_create(),
- unsigned int, MAILDIR_MAX_KEYWORDS);
+ MAILDIR_MAX_KEYWORDS);
iter = maildir_uidlist_iter_init(mbox->uidlist);
while (maildir_uidlist_iter_next(iter, &uid, &uflags, &filename)) {
maildir_filename_get_flags(sync_ctx->keywords_sync_ctx,
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-sync-parse.c, 1.52, 1.53 mbox-sync-update.c, 1.48, 1.49 mbox-sync.c, 1.183, 1.184
- Next message: [dovecot-cvs] dovecot/src/lib-storage/index/dbox dbox-keywords.c, 1.4, 1.5 dbox-save.c, 1.18, 1.19 dbox-sync-expunge.c, 1.19, 1.20 dbox-sync-full.c, 1.8, 1.9 dbox-sync.c, 1.21, 1.22 dbox-uidlist.c, 1.38, 1.39
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list