[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-storage.h,
1.21, 1.22 mbox-list.c, 1.24, 1.25
cras at procontrol.fi
cras at procontrol.fi
Tue Jun 22 22:28:17 EEST 2004
Update of /home/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv3188
Modified Files:
mbox-storage.h mbox-list.c
Log Message:
We didn't specify full path for .subscriptions file, and it was named
without the leading dot..
Index: mbox-storage.h
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/mbox/mbox-storage.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- mbox-storage.h 20 Jun 2004 06:21:48 -0000 1.21
+++ mbox-storage.h 22 Jun 2004 19:28:15 -0000 1.22
@@ -4,7 +4,7 @@
/* Extra space to leave in X-Keywords header when rewriting mbox */
#define MBOX_HEADER_EXTRA_SPACE 100
-#define SUBSCRIPTION_FILE_NAME "subscriptions"
+#define SUBSCRIPTION_FILE_NAME ".subscriptions"
#define MBOX_INDEX_PREFIX "dovecot.index"
#include "index-storage.h"
Index: mbox-list.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/mbox/mbox-list.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- mbox-list.c 6 May 2004 01:22:25 -0000 1.24
+++ mbox-list.c 22 Jun 2004 19:28:15 -0000 1.25
@@ -142,8 +142,11 @@
ctx->istorage = istorage;
ctx->flags = flags;
ctx->next = mbox_list_subs;
+
+ path = t_strconcat(istorage->dir,
+ "/" SUBSCRIPTION_FILE_NAME, NULL);
ctx->subsfile_ctx =
- subsfile_list_init(storage, SUBSCRIPTION_FILE_NAME);
+ subsfile_list_init(storage, path);
if (ctx->subsfile_ctx == NULL) {
i_free(ctx);
return NULL;
More information about the dovecot-cvs
mailing list