[dovecot-cvs] dovecot/src/lib-index mail-index.c,1.181,1.182
cras at dovecot.org
cras at dovecot.org
Sun Dec 5 05:42:46 EET 2004
- Previous message: [dovecot-cvs] dovecot/src/lib-index mail-index.c,1.180,1.181
- Next message: [dovecot-cvs] dovecot/src/lib-index mail-cache-private.h, 1.20,
1.21 mail-cache.c, 1.59, 1.60 mail-index-lock.c, 1.38,
1.39 mail-index-private.h, 1.43, 1.44 mail-transaction-log.c,
1.76, 1.77
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib-index
In directory talvi:/tmp/cvs-serv8938
Modified Files:
mail-index.c
Log Message:
Changed assert() to friendly human readable message.
Index: mail-index.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-index.c,v
retrieving revision 1.181
retrieving revision 1.182
diff -u -d -r1.181 -r1.182
--- mail-index.c 5 Dec 2004 02:18:44 -0000 1.181
+++ mail-index.c 5 Dec 2004 03:42:43 -0000 1.182
@@ -1176,8 +1176,12 @@
/* don't even bother to handle dotlocking without mmap being
disabled. that combination simply doesn't make any sense */
- i_assert(lock_method != MAIL_INDEX_LOCK_DOTLOCK ||
- index->mmap_disable);
+ if (lock_method == MAIL_INDEX_LOCK_DOTLOCK &&
+ !index->mmap_disable) {
+ i_fatal("lock_method=dotlock and mmap_disable=no "
+ "combination isn't supported. "
+ "You don't _really_ want it anyway.");
+ }
ret = mail_index_open_files(index, flags);
if (ret <= 0)
- Previous message: [dovecot-cvs] dovecot/src/lib-index mail-index.c,1.180,1.181
- Next message: [dovecot-cvs] dovecot/src/lib-index mail-cache-private.h, 1.20,
1.21 mail-cache.c, 1.59, 1.60 mail-index-lock.c, 1.38,
1.39 mail-index-private.h, 1.43, 1.44 mail-transaction-log.c,
1.76, 1.77
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list