v2.2.19 release candidate released

James
Thu, 24 Sep 2015 08:33:54 -0000

On 23/09/2015 14:30, Timo Sirainen wrote:

> http://dovecot.org/releases/2.2/rc/dovecot-2.2.19.rc1.tar.gz

Comiling with cc on Solaris 10 complains "void function cannot return
value", patch attached.  Dovecot is offering the equivalent of:

void bar()
{
}

void foo()
{
     return bar();
}

which cc doesn't accept whereas gcc does.

Otherwise no problems, I have 2.2.19.rc1 running on a lightly loaded system.










-------------- next part --------------
--- ../original/src/lib-settings/settings-parser.c	2015-09-23 13:59:40.000000000
+0100
+++ src/lib-settings/settings-parser.c	2015-09-23 15:24:12.715857666 +0100
@@ -1296,7 +1296,7 @@
 			 void *set, pool_t pool,
 			 const struct var_expand_table *table)
 {
-	return settings_var_expand_with_funcs(info, set, pool, table, NULL, NULL);
+	settings_var_expand_with_funcs(info, set, pool, table, NULL, NULL);
 }

 void settings_var_expand_with_funcs(const struct setting_parser_info *info,
--- ../original/src/lib-dict/dict.c	2015-09-02 15:34:00.000000000 +0100
+++ src/lib-dict/dict.c	2015-09-23 15:25:08.746448489 +0100
@@ -133,7 +133,7 @@
 		callback(&result, context);
 		return;
 	}
-	return dict->v.lookup_async(dict, key, callback, context);
+	dict->v.lookup_async(dict, key, callback, context);
 }

 struct dict_iterate_context *