[dovecot-cvs] dovecot/src/imap namespace.c,1.17,1.18
tss at dovecot.org
tss at dovecot.org
Wed Dec 6 15:08:37 UTC 2006
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/list index-mailbox-list.c, 1.1, 1.2
- Next 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
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv32161/imap
Modified Files:
namespace.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: namespace.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/namespace.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- namespace.c 25 Nov 2006 22:17:40 -0000 1.17
+++ namespace.c 6 Dec 2006 15:08:35 -0000 1.18
@@ -1,6 +1,7 @@
/* Copyright (C) 2003 Timo Sirainen */
#include "common.h"
+#include "file-lock.h"
#include "commands.h"
#include "namespace.h"
@@ -25,7 +26,7 @@
static struct namespace *
namespace_add_env(pool_t pool, const char *data, unsigned int num,
const char *user, enum mail_storage_flags flags,
- enum mail_storage_lock_method lock_method)
+ enum file_lock_method lock_method)
{
struct namespace *ns;
const char *sep, *type, *prefix;
@@ -88,7 +89,7 @@
{
struct namespace *namespaces, *ns, **ns_p;
enum mail_storage_flags flags;
- enum mail_storage_lock_method lock_method;
+ enum file_lock_method lock_method;
const char *mail, *data;
unsigned int i;
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/list index-mailbox-list.c, 1.1, 1.2
- Next 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
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list