[dovecot-cvs] dovecot/src/dict main.c,1.8.2.2,1.8.2.3

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


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

Modified Files:
      Tag: branch_1_0
	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.8.2.2
retrieving revision 1.8.2.3
diff -u -d -r1.8.2.2 -r1.8.2.3
--- main.c	10 Aug 2006 18:46:19 -0000	1.8.2.2
+++ main.c	16 Feb 2007 13:12:02 -0000	1.8.2.3
@@ -80,6 +80,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