[dovecot-cvs] dovecot/src/lib-storage/index/maildir
maildir-storage.c, 1.104, 1.105
cras at dovecot.org
cras at dovecot.org
Fri Sep 30 21:55:02 EEST 2005
Update of /var/lib/cvs/dovecot/src/lib-storage/index/maildir
In directory talvi:/tmp/cvs-serv7270/lib-storage/index/maildir
Modified Files:
maildir-storage.c
Log Message:
Added MAILBOX_OPEN_NO_INDEX_FILES flag and made streamed mboxes by default
also indexed.
Index: maildir-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/maildir/maildir-storage.c,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -d -r1.104 -r1.105
--- maildir-storage.c 14 Aug 2005 21:54:25 -0000 1.104
+++ maildir-storage.c 30 Sep 2005 18:55:00 -0000 1.105
@@ -417,7 +417,12 @@
index_dir = maildir_get_index_path(istorage, name);
control_dir = maildir_get_control_path(storage, name);
- index = index_storage_alloc(index_dir, path, MAILDIR_INDEX_PREFIX);
+ if ((flags & MAILBOX_OPEN_NO_INDEX_FILES) != 0)
+ index = mail_index_alloc(NULL, NULL);
+ else {
+ index = index_storage_alloc(index_dir, path,
+ MAILDIR_INDEX_PREFIX);
+ }
/* for shared mailboxes get the create mode from the
permissions of dovecot-shared file. */
More information about the dovecot-cvs
mailing list