dovecot-2.0: DEBUG: lib-master no longer verifies fd leaks for p...

dovecot at dovecot.org dovecot at dovecot.org
Wed May 27 03:23:34 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/674024d7bcb7
changeset: 9396:674024d7bcb7
user:      Timo Sirainen <tss at iki.fi>
date:      Tue May 26 20:23:26 2009 -0400
description:
DEBUG: lib-master no longer verifies fd leaks for programs running standalone.

diffstat:

1 file changed, 2 insertions(+), 1 deletion(-)
src/lib-master/master-service.c |    3 ++-

diffs (13 lines):

diff -r ff9c8f94ee8d -r 674024d7bcb7 src/lib-master/master-service.c
--- a/src/lib-master/master-service.c	Tue May 26 20:22:50 2009 -0400
+++ b/src/lib-master/master-service.c	Tue May 26 20:23:26 2009 -0400
@@ -73,7 +73,8 @@ master_service_init(const char *name, en
 	i_assert(name != NULL);
 
 #ifdef DEBUG
-	if (getenv("GDB") == NULL) {
+	if (getenv("GDB") == NULL &&
+	    (flags & MASTER_SERVICE_FLAG_STANDALONE) == 0) {
 		int count;
 
 		str = getenv("SOCKET_COUNT");


More information about the dovecot-cvs mailing list