[dovecot-cvs] dovecot/src/lib-index mail-index.c, 1.230.2.23, 1.230.2.24
tss at dovecot.org
tss at dovecot.org
Sat Mar 10 21:30:26 EET 2007
Update of /var/lib/cvs/dovecot/src/lib-index
In directory talvi:/tmp/cvs-serv3785
Modified Files:
Tag: branch_1_0
mail-index.c
Log Message:
When moving index file to memory, change the filename to be "(in-memory
index)".
Index: mail-index.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-index.c,v
retrieving revision 1.230.2.23
retrieving revision 1.230.2.24
diff -u -d -r1.230.2.23 -r1.230.2.24
--- mail-index.c 10 Mar 2007 19:29:32 -0000 1.230.2.23
+++ mail-index.c 10 Mar 2007 19:30:24 -0000 1.230.2.24
@@ -1885,6 +1885,9 @@
/* set the index as being into memory */
i_free_and_null(index->dir);
+ i_free(index->filepath);
+ index->filepath = i_strdup("(in-memory index)");
+
if (index->map == NULL) {
/* index was never even opened. just mark it as being in
memory and let the caller re-open the index. */
More information about the dovecot-cvs
mailing list