dovecot-1.1: The previous gdb check should be done only with --e...

dovecot at dovecot.org dovecot at dovecot.org
Sun May 4 14:35:55 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.1/rev/0eb6a0c01001
changeset: 7478:0eb6a0c01001
user:      Timo Sirainen <tss at iki.fi>
date:      Sun May 04 14:35:51 2008 +0300
description:
The previous gdb check should be done only with --enable-debug.

diffstat:

1 file changed, 2 insertions(+)
src/master/login-process.c |    2 ++

diffs (13 lines):

diff -r 841209428d2d -r 0eb6a0c01001 src/master/login-process.c
--- a/src/master/login-process.c	Sun May 04 04:27:41 2008 +0300
+++ b/src/master/login-process.c	Sun May 04 14:35:51 2008 +0300
@@ -689,7 +689,9 @@ static pid_t create_login_process(struct
 	fd_limit = 16 + listen_count + ssl_listen_count +
 		2 * (group->set->login_process_per_connection ? 1 :
 		     group->set->login_max_connections);
+#ifdef DEBUG
 	if (!gdb)
+#endif
 		restrict_fd_limit(fd_limit);
 
 	/* make sure we don't leak syslog fd, but do it last so that


More information about the dovecot-cvs mailing list