[dovecot-cvs] dovecot/src/lib-storage/index/maildir
maildir-uidlist.c, 1.31, 1.32
cras at dovecot.org
cras at dovecot.org
Fri Oct 8 20:51:51 EEST 2004
- Previous message: [dovecot-cvs] dovecot/src/lib-index mail-cache-compress.c, 1.22,
1.23 mail-cache-fields.c, 1.7, 1.8 mail-cache-lookup.c, 1.23,
1.24 mail-cache-transaction.c, 1.28, 1.29 mail-cache.c, 1.47,
1.48 mail-index-sync.c, 1.33, 1.34 mail-index-transaction.c,
1.30, 1.31 mail-index-view-sync.c, 1.21,
1.22 mail-index-view.c, 1.21, 1.22 mail-index.c, 1.150,
1.151 mail-transaction-log.c, 1.61, 1.62
- Next message: [dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-sync.c, 1.98,
1.99
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib-storage/index/maildir
In directory talvi:/tmp/cvs-serv10130/lib-storage/index/maildir
Modified Files:
maildir-uidlist.c
Log Message:
Buffer API change: we no longer support limited sized buffers where
writes past limit wouldn't kill the process. They weren't used hardly
anywhere, they could have hidden bugs and the code for handling them was too
complex.
This also changed base64 and hex-binary APIs.
Index: maildir-uidlist.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/maildir/maildir-uidlist.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- maildir-uidlist.c 5 Sep 2004 20:17:33 -0000 1.31
+++ maildir-uidlist.c 8 Oct 2004 17:51:49 -0000 1.32
@@ -132,8 +132,7 @@
uidlist->fname =
i_strconcat(ibox->control_dir, "/" MAILDIR_UIDLIST_NAME, NULL);
uidlist->lock_fd = -1;
- uidlist->record_buf =
- buffer_create_dynamic(default_pool, 512, (size_t)-1);
+ uidlist->record_buf = buffer_create_dynamic(default_pool, 512);
uidlist->files = hash_create(default_pool, default_pool, 4096,
maildir_hash, maildir_cmp);
@@ -581,7 +580,7 @@
maildir_hash, maildir_cmp);
size = buffer_get_used_size(uidlist->record_buf);
- ctx->record_buf = buffer_create_dynamic(default_pool, size, (size_t)-1);
+ ctx->record_buf = buffer_create_dynamic(default_pool, size);
return ctx;
}
- Previous message: [dovecot-cvs] dovecot/src/lib-index mail-cache-compress.c, 1.22,
1.23 mail-cache-fields.c, 1.7, 1.8 mail-cache-lookup.c, 1.23,
1.24 mail-cache-transaction.c, 1.28, 1.29 mail-cache.c, 1.47,
1.48 mail-index-sync.c, 1.33, 1.34 mail-index-transaction.c,
1.30, 1.31 mail-index-view-sync.c, 1.21,
1.22 mail-index-view.c, 1.21, 1.22 mail-index.c, 1.150,
1.151 mail-transaction-log.c, 1.61, 1.62
- Next message: [dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-sync.c, 1.98,
1.99
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list