22 lines
745 B
Plaintext
22 lines
745 B
Plaintext
$OpenBSD: patch-src_imap_main_c,v 1.3 2004/06/25 17:41:59 brad Exp $
|
|
--- src/imap/main.c.orig Mon May 26 11:27:13 2003
|
|
+++ src/imap/main.c Fri Jun 25 13:35:47 2004
|
|
@@ -21,6 +21,7 @@
|
|
|
|
struct ioloop *ioloop;
|
|
unsigned int max_custom_flag_length, mailbox_check_interval;
|
|
+enum mailbox_open_flags mailbox_open_flags;
|
|
|
|
static struct module *modules;
|
|
static char log_prefix[128]; /* syslog() needs this to be permanent */
|
|
@@ -129,6 +130,9 @@ static void main_init(void)
|
|
str = getenv("MAILBOX_CHECK_INTERVAL");
|
|
mailbox_check_interval = str == NULL ? 0 :
|
|
(unsigned int)strtoul(str, NULL, 10);
|
|
+
|
|
+ mailbox_open_flags = getenv("MMAP_INVALIDATE") != NULL ?
|
|
+ MAILBOX_OPEN_MMAP_INVALIDATE : 0;
|
|
|
|
client = client_create(hin, hout, storage);
|
|
|