[dovecot-cvs] dovecot/src/dict main.c,1.12,1.13

tss at dovecot.org tss at dovecot.org
Fri Feb 16 13:12:13 UTC 2007


Update of /var/lib/cvs/dovecot/src/dict
In directory talvi:/tmp/cvs-serv5379/dict

Modified Files:
	main.c 
Log Message:
module_dir_load() doesn't call init() functions anymore. Added a new
module_dir_init() which does it. This way imap/pop3 can load the modules
before chrooting and initialize them after.



Index: main.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/dict/main.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- main.c	15 Dec 2006 16:55:30 -0000	1.12
+++ main.c	16 Feb 2007 13:12:10 -0000	1.13
@@ -79,6 +79,7 @@
 
 	modules = getenv("MODULE_DIR") == NULL ? NULL :
 		module_dir_load(getenv("MODULE_DIR"), NULL, TRUE);
+	module_dir_init(modules);
 
 	path = getenv("DICT_LISTEN_FROM_FD");
 	fd = path == NULL ? -1 : DICT_MASTER_LISTENER_FD;



More information about the dovecot-cvs mailing list