[dovecot-cvs] dovecot/src/lib-storage mail-storage.c,1.8,1.9 mail-storage.h,1.34,1.35

cras at procontrol.fi cras at procontrol.fi
Tue Feb 11 21:37:18 EET 2003


Update of /home/cvs/dovecot/src/lib-storage
In directory danu:/tmp/cvs-serv1541/src/lib-storage

Modified Files:
	mail-storage.c mail-storage.h 
Log Message:
Added mail_full_filesystem_access setting. Some of the setting variable
types were declared wrong and caused Dovecot to crash if they were set in
config file.



Index: mail-storage.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/mail-storage.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- mail-storage.c	11 Feb 2003 10:30:29 -0000	1.8
+++ mail-storage.c	11 Feb 2003 19:37:16 -0000	1.9
@@ -28,12 +28,15 @@
 
 static struct mail_storage_list *storages = NULL;
 enum client_workarounds client_workarounds = 0;
+int full_filesystem_access = FALSE;
 
 void mail_storage_init(void)
 {
         struct client_workaround_list *list;
 	const char *env;
 	const char *const *str;
+
+        full_filesystem_access = getenv("FULL_FILESYSTEM_ACCESS") != NULL;
 
 	env = getenv("CLIENT_WORKAROUNDS");
 	if (env == NULL)

Index: mail-storage.h
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/mail-storage.h,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- mail-storage.h	11 Feb 2003 10:30:29 -0000	1.34
+++ mail-storage.h	11 Feb 2003 19:37:16 -0000	1.35
@@ -394,6 +394,7 @@
 };
 
 extern enum client_workarounds client_workarounds;
+extern int full_filesystem_access;
 
 /* Initialize mail storage. */
 void mail_storage_init(void);




More information about the dovecot-cvs mailing list