[dovecot-cvs] dovecot/src/master mail-process.c, 1.100, 1.101 master-settings.h, 1.85, 1.86

cras at dovecot.org cras at dovecot.org
Wed Jun 28 16:10:56 EEST 2006


Update of /var/lib/cvs/dovecot/src/master
In directory talvi:/tmp/cvs-serv11200/src/master

Modified Files:
	mail-process.c master-settings.h 
Log Message:
Array API redesigned to work using unions. It now provides type safety
without having to enable DEBUG, as long as the compiler supports typeof().
Its API changed a bit. It now allows directly accessing the array contents,
although that's not necessarily recommended. Changed existing array usage to
be type safe in a bit more places. Removed array_t completely. Also did
s/modifyable/modifiable/.



Index: mail-process.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/mail-process.c,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -d -r1.100 -r1.101
--- mail-process.c	27 Jun 2006 21:03:56 -0000	1.100
+++ mail-process.c	28 Jun 2006 13:10:54 -0000	1.101
@@ -400,7 +400,7 @@
 	pid_t pid;
 	uid_t uid;
 	gid_t gid;
-	array_t ARRAY_DEFINE(extra_args, const char *);
+	ARRAY_DEFINE(extra_args, const char *);
 	unsigned int i, count;
 	int err, ret, log_fd, nice;
 	bool home_given, nfs_check;

Index: master-settings.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/master-settings.h,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -d -r1.85 -r1.86
--- master-settings.h	17 Jun 2006 12:25:08 -0000	1.85
+++ master-settings.h	28 Jun 2006 13:10:54 -0000	1.86
@@ -125,7 +125,7 @@
 
 	const char *imap_generated_capability;
 
-	array_t ARRAY_DEFINE(plugin_envs, const char *);
+	ARRAY_DEFINE(plugin_envs, const char *);
 };
 
 struct socket_settings {
@@ -223,7 +223,7 @@
 	struct auth_settings auth_defaults;
         struct namespace_settings *namespaces;
 
-	array_t ARRAY_DEFINE(dicts, const char *);
+	ARRAY_DEFINE(dicts, const char *);
 
 	gid_t login_gid;
 };



More information about the dovecot-cvs mailing list