[dovecot-cvs] dovecot/src/lib-index mail-custom-flags.c,1.19,1.20
mail-index.c,1.88,1.89 mail-index.h,1.74,1.75
cras at procontrol.fi
cras at procontrol.fi
Sat May 17 17:09:57 EEST 2003
Update of /home/cvs/dovecot/src/lib-index
In directory danu:/tmp/cvs-serv6930/lib-index
Modified Files:
mail-custom-flags.c mail-index.c mail-index.h
Log Message:
Maildir: CONTROL=<dir> in MAIL environment now specifies where to save
.customflags and dovecot-uidlist files. This can be useful if the main
mail directory is under hard quota.
Index: mail-custom-flags.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-index/mail-custom-flags.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- mail-custom-flags.c 30 Mar 2003 12:48:37 -0000 1.19
+++ mail-custom-flags.c 17 May 2003 13:09:54 -0000 1.20
@@ -238,7 +238,7 @@
const char *path;
int fd;
- path = t_strconcat(index->custom_flags_dir, "/",
+ path = t_strconcat(index->control_dir, "/",
CUSTOM_FLAGS_FILE_NAME, NULL);
if (path == NULL)
fd = -1;
Index: mail-index.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-index/mail-index.c,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -d -r1.88 -r1.89
--- mail-index.c 23 Apr 2003 17:07:23 -0000 1.88
+++ mail-index.c 17 May 2003 13:09:54 -0000 1.89
@@ -170,9 +170,9 @@
index->custom_flags = NULL;
}
- if (index->custom_flags_dir != NULL) {
- i_free(index->custom_flags_dir);
- index->custom_flags_dir = NULL;
+ if (index->control_dir != NULL) {
+ i_free(index->control_dir);
+ index->control_dir = NULL;
}
if (index->error != NULL) {
Index: mail-index.h
===================================================================
RCS file: /home/cvs/dovecot/src/lib-index/mail-index.h,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -d -r1.74 -r1.75
--- mail-index.h 27 Apr 2003 00:59:43 -0000 1.74
+++ mail-index.h 17 May 2003 13:09:54 -0000 1.75
@@ -370,7 +370,7 @@
char *dir; /* directory where to place the index files */
char *filepath; /* index file path */
char *mailbox_path; /* file/directory for mailbox location */
- char *custom_flags_dir; /* destination for .customflags file */
+ char *control_dir; /* destination for control files */
enum mail_data_field default_cache_fields, never_cache_fields;
unsigned int indexid;
unsigned int sync_id;
More information about the dovecot-cvs
mailing list