[dovecot-cvs] dovecot/src/lib-storage/index index-storage.c, 1.85.2.1, 1.85.2.2 index-storage.h, 1.101, 1.101.2.1
cras at dovecot.org
cras at dovecot.org
Mon Aug 7 15:42:27 EEST 2006
Update of /var/lib/cvs/dovecot/src/lib-storage/index
In directory talvi:/tmp/cvs-serv26162/lib-storage/index
Modified Files:
Tag: branch_1_0
index-storage.c index-storage.h
Log Message:
Added MAILBOX_OPEN_MBOX_ONE_MSG_ONLY flag for mailbox_open() which makes it
ignore all but the first From-line in a mbox. This kludge is required for
deliver which builds a temporary mbox stream from the input. Later it
should be fixed to use some plain-mailbox format instead of mbox.
Index: index-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/index-storage.c,v
retrieving revision 1.85.2.1
retrieving revision 1.85.2.2
diff -u -d -r1.85.2.1 -r1.85.2.2
--- index-storage.c 30 May 2006 13:14:15 -0000 1.85.2.1
+++ index-storage.c 7 Aug 2006 12:42:25 -0000 1.85.2.2
@@ -348,6 +348,7 @@
break;
}
+ ibox->open_flags = flags;
ibox->readonly = (flags & MAILBOX_OPEN_READONLY) != 0;
ibox->keep_recent = (flags & MAILBOX_OPEN_KEEP_RECENT) != 0;
ibox->keep_locked = (flags & MAILBOX_OPEN_KEEP_LOCKED) != 0;
Index: index-storage.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/index-storage.h,v
retrieving revision 1.101
retrieving revision 1.101.2.1
diff -u -d -r1.101 -r1.101.2.1
--- index-storage.h 14 Apr 2006 12:30:21 -0000 1.101
+++ index-storage.h 7 Aug 2006 12:42:25 -0000 1.101.2.1
@@ -38,6 +38,7 @@
struct index_mailbox {
struct mailbox box;
struct index_storage *storage;
+ enum mailbox_open_flags open_flags;
struct mail_index *index;
struct mail_index_view *view;
More information about the dovecot-cvs
mailing list