[dovecot-cvs] dovecot/src/lib-index mail-cache.c,1.37,1.38
cras at procontrol.fi
cras at procontrol.fi
Mon Jul 5 01:09:15 EEST 2004
- Previous message: [dovecot-cvs] dovecot/src/lib-index mail-transaction-log.c, 1.44,
1.45
- Next message: [dovecot-cvs]
dovecot/src/lib-index mail-index-sync-private.h, 1.10,
1.11 mail-index-sync-update.c, 1.35,
1.36 mail-index-view-sync.c, 1.14, 1.15 mail-transaction-log.c,
1.45, 1.46
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/dovecot/src/lib-index
In directory talvi:/tmp/cvs-serv32057/src/lib-index
Modified Files:
mail-cache.c
Log Message:
disable cache file with mmap_no_write. it and mmap_disable will need some
non-mmap buffer for reading.
Index: mail-cache.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-index/mail-cache.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- mail-cache.c 4 Jul 2004 20:00:47 -0000 1.37
+++ mail-cache.c 4 Jul 2004 22:09:13 -0000 1.38
@@ -263,7 +263,7 @@
cache->fd = -1;
cache->split_header_pool = pool_alloconly_create("Headers", 512);
- if (!index->mmap_disable) {
+ if (!index->mmap_disable && !index->mmap_no_write) {
if (mail_cache_open_and_verify(cache) < 0) {
/* failed for some reason - doesn't really matter,
it's disabled for now. */
- Previous message: [dovecot-cvs] dovecot/src/lib-index mail-transaction-log.c, 1.44,
1.45
- Next message: [dovecot-cvs]
dovecot/src/lib-index mail-index-sync-private.h, 1.10,
1.11 mail-index-sync-update.c, 1.35,
1.36 mail-index-view-sync.c, 1.14, 1.15 mail-transaction-log.c,
1.45, 1.46
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list