D-Programming-Language/phobos — pull request #303 by redstar (2011-10-27 05:05:51+00:00)
Title: Small fixes to std.zlib.

1) The output was broken when running the unittest with debug=zlib.
2) If the output buffer was too small then uncompress() repeated the process with a bigger buffer. Now the buffer is simply expanded and the uncompression continued.
3) Added a unit test to check that the buffer expansion from 2) works.