openbsd-ports/mail/dovecot/patches/patch-src_master_master-settings_c
brad aaef18b8a9 upgrade to Dovecot 0.99.10.6
- takeover as MAINTAINER
--
ok MAINTAINER
2004-06-22 21:05:20 +00:00

24 lines
834 B
Plaintext

$OpenBSD: patch-src_master_master-settings_c,v 1.3 2004/06/22 21:05:20 brad Exp $
--- src/master/master-settings.c.orig 2004-06-17 20:52:57.000000000 -0400
+++ src/master/master-settings.c 2004-06-17 21:13:53.000000000 -0400
@@ -72,6 +72,7 @@ static struct setting_def setting_defs[]
DEF(SET_INT, mbox_dotlock_change_timeout),
DEF(SET_INT, umask),
DEF(SET_BOOL, mail_drop_priv_before_exec),
+ DEF(SET_BOOL, index_mmap_invalidate),
/* imap */
DEF(SET_STR, imap_executable),
@@ -188,6 +189,11 @@ struct settings default_settings = {
MEMBER(mbox_dotlock_change_timeout) 30,
MEMBER(umask) 0077,
MEMBER(mail_drop_priv_before_exec) FALSE,
+#ifdef NEED_MS_INVALIDATE
+ MEMBER(index_mmap_invalidate) TRUE,
+#else
+ MEMBER(index_mmap_invalidate) FALSE,
+#endif
/* imap */
MEMBER(imap_executable) PKG_LIBEXECDIR"/imap",