[dovecot-cvs] dovecot/src/pop3 client.c,1.16,1.17
cras at procontrol.fi
cras at procontrol.fi
Wed Apr 28 03:21:03 EEST 2004
- Previous message: [dovecot-cvs] dovecot/src/lib-index mail-index-lock.c, 1.1,
1.2 mail-index-private.h, 1.1, 1.2 mail-index-reset.c, 1.1,
1.2 mail-index-sync-update.c, 1.1, 1.2 mail-index-sync.c, 1.1,
1.2 mail-index-transaction-private.h, 1.1,
1.2 mail-index-transaction.c, 1.1,
1.2 mail-index-view-private.h, 1.1, 1.2 mail-index-view-sync.c,
1.1, 1.2 mail-index-view.c, 1.1, 1.2 mail-index.c, 1.106,
1.107 mail-index.h, 1.98, 1.99 mail-transaction-log.c, 1.1, 1.2
- Next message: [dovecot-cvs] dovecot dovecot-example.conf,1.79,1.80
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/dovecot/src/pop3
In directory talvi:/tmp/cvs-serv32334/pop3
Modified Files:
client.c
Log Message:
Forced locking to be right with mprotect()ing index file. Support for
disabling mmap for indexes, and disabling just mmap+write().
Index: client.c
===================================================================
RCS file: /home/cvs/dovecot/src/pop3/client.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- client.c 27 Apr 2004 20:25:55 -0000 1.16
+++ client.c 28 Apr 2004 00:21:01 -0000 1.17
@@ -115,7 +115,6 @@
struct client *client_create(int hin, int hout, struct mail_storage *storage)
{
struct client *client;
- enum mailbox_open_flags flags;
client = i_new(struct client, 1);
client->input = i_stream_create_file(hin, default_pool,
@@ -132,9 +131,7 @@
mail_storage_set_callbacks(storage, &mail_storage_callbacks, client);
- flags = getenv("MMAP_INVALIDATE") != NULL ?
- MAILBOX_OPEN_MMAP_INVALIDATE : 0;
- client->mailbox = mailbox_open(storage, "INBOX", flags);
+ client->mailbox = mailbox_open(storage, "INBOX", 0);
if (client->mailbox == NULL) {
client_send_line(client, "-ERR No INBOX for user.");
return NULL;
- Previous message: [dovecot-cvs] dovecot/src/lib-index mail-index-lock.c, 1.1,
1.2 mail-index-private.h, 1.1, 1.2 mail-index-reset.c, 1.1,
1.2 mail-index-sync-update.c, 1.1, 1.2 mail-index-sync.c, 1.1,
1.2 mail-index-transaction-private.h, 1.1,
1.2 mail-index-transaction.c, 1.1,
1.2 mail-index-view-private.h, 1.1, 1.2 mail-index-view-sync.c,
1.1, 1.2 mail-index-view.c, 1.1, 1.2 mail-index.c, 1.106,
1.107 mail-index.h, 1.98, 1.99 mail-transaction-log.c, 1.1, 1.2
- Next message: [dovecot-cvs] dovecot dovecot-example.conf,1.79,1.80
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list