From cda2bf5568ff81890011433853bd50407abc550e Mon Sep 17 00:00:00 2001 From: drbrain Date: Mon, 2 Jul 2012 21:15:47 +0000 Subject: [PATCH] * ext/zlib/zlib.c: Restored the comment explaining the choice of buffer expansion size. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/zlib/zlib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c index 9e61ca20e5..e73acc1f12 100644 --- a/ext/zlib/zlib.c +++ b/ext/zlib/zlib.c @@ -554,6 +554,7 @@ struct zstream { /* I think that more better value should be found, but I gave up finding it. B) */ #define ZSTREAM_INITIAL_BUFSIZE 1024 +/* Allow a quick return when the thread is interrupted */ #define ZSTREAM_AVAIL_OUT_STEP_MAX 16384 #define ZSTREAM_AVAIL_OUT_STEP_MIN 2048