[dovecot-cvs] dovecot/src/deliver deliver.c,1.39,1.40
tss at dovecot.org
tss at dovecot.org
Wed Dec 6 15:08:49 UTC 2006
- Previous message: [dovecot-cvs] dovecot/src/lib-index mail-cache-compress.c, 1.45, 1.46 mail-cache-private.h, 1.33, 1.34 mail-cache.c, 1.88, 1.89 mail-hash.c, 1.25, 1.26 mail-index-lock.c, 1.55, 1.56 mail-index-private.h, 1.74, 1.75 mail-index.c, 1.245, 1.246 mail-index.h, 1.162, 1.163 mail-transaction-log-private.h, 1.16, 1.17 mail-transaction-log.c, 1.115, 1.116
- Next message: [dovecot-cvs] dovecot/src/plugins/fts-lucene fts-backend-lucene.c, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/deliver
In directory talvi:/tmp/cvs-serv32161/deliver
Modified Files:
deliver.c
Log Message:
Lock handling changes. Everything goes through file-lock API now and there's
only a single enum listing the different lock methods. This change exposed
some unneeded (or possibly even wrong?) unlock calls in index file handling
which were fixed.
Index: deliver.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/deliver/deliver.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- deliver.c 25 Nov 2006 22:17:39 -0000 1.39
+++ deliver.c 6 Dec 2006 15:08:38 -0000 1.40
@@ -2,6 +2,7 @@
#include "lib.h"
#include "lib-signals.h"
+#include "file-lock.h"
#include "ioloop.h"
#include "hostpid.h"
#include "home-expand.h"
@@ -384,7 +385,7 @@
const char *home, *destination, *user, *mail_env, *value;
const struct var_expand_table *table;
enum mail_storage_flags flags;
- enum mail_storage_lock_method lock_method;
+ enum file_lock_method lock_method;
struct mail_storage *storage, *mbox_storage;
struct mailbox *box;
struct istream *input;
@@ -565,7 +566,7 @@
}
mbox_storage = mail_storage_create("mbox", "/tmp", destination, 0,
- MAIL_STORAGE_LOCK_FCNTL);
+ FILE_LOCK_METHOD_FCNTL);
input = create_mbox_stream(0, envelope_sender);
box = mailbox_open(mbox_storage, "Dovecot Delivery Mail", input,
MAILBOX_OPEN_NO_INDEX_FILES |
- Previous message: [dovecot-cvs] dovecot/src/lib-index mail-cache-compress.c, 1.45, 1.46 mail-cache-private.h, 1.33, 1.34 mail-cache.c, 1.88, 1.89 mail-hash.c, 1.25, 1.26 mail-index-lock.c, 1.55, 1.56 mail-index-private.h, 1.74, 1.75 mail-index.c, 1.245, 1.246 mail-index.h, 1.162, 1.163 mail-transaction-log-private.h, 1.16, 1.17 mail-transaction-log.c, 1.115, 1.116
- Next message: [dovecot-cvs] dovecot/src/plugins/fts-lucene fts-backend-lucene.c, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list