dovecot-2.0: DEBUG: Removed buffer's tests against overflows. It...

dovecot at dovecot.org dovecot at dovecot.org
Fri Jun 18 18:28:55 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/2e686a6403e3
changeset: 11578:2e686a6403e3
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Jun 18 16:28:14 2010 +0100
description:
DEBUG: Removed buffer's tests against overflows. It slows down too much.

diffstat:

 src/lib/buffer.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 334d9b18f437 -r 2e686a6403e3 src/lib/buffer.c
--- a/src/lib/buffer.c	Fri Jun 18 16:27:45 2010 +0100
+++ b/src/lib/buffer.c	Fri Jun 18 16:28:14 2010 +0100
@@ -63,7 +63,7 @@
 		buffer_alloc(buf, pool_get_exp_grown_size(buf->pool, buf->alloc,
 							  new_size));
 	}
-#ifdef DEBUG
+#if 0
 	else if (new_size > buf->used && buf->alloced &&
 		 !buf->pool->alloconly_pool && !buf->pool->datastack_pool) {
 		void *new_buf;


More information about the dovecot-cvs mailing list