in this article, the zpipe.c hava one bug: if the data size after deflate is bigger than origin file, it will generate some error and can't compress file, attachment is the sample file. please fix it if you think necessary
i just double the memory of out when deflate, and it fix my problem. this is the laziest way. but i think it is not resolved completely
Kevin, Thanks for letting us. We will update the article.
For more complete information about compiler optimizations, see our Optimization Notice.