openbsd-ports/mail/dovecot/patches/patch-src_imap_cmd-status_c
jolan a07ffc1aaa incorporate megadiff from the author which allows mmaping of index data
on openbsd, related to pr/3291.  bump PKGNAME
2003-07-23 06:03:00 +00:00

16 lines
529 B
Plaintext

$OpenBSD: patch-src_imap_cmd-status_c,v 1.1 2003/07/23 06:03:01 jolan Exp $
--- src/imap/cmd-status.c.orig Tue Jun 24 18:12:56 2003
+++ src/imap/cmd-status.c Tue Jul 15 15:17:12 2003
@@ -65,7 +65,10 @@ static int get_mailbox_status(struct cli
} else {
/* open the mailbox */
box = client->storage->open_mailbox(client->storage,
- mailbox, TRUE, TRUE);
+ mailbox,
+ mailbox_open_flags |
+ MAILBOX_OPEN_FAST |
+ MAILBOX_OPEN_READONLY);
if (box == NULL)
return FALSE;
}