|
From: | JonY |
Subject: | Re: [Lzip-bug] lzlib on Windows |
Date: | Mon, 19 Oct 2009 21:48:52 +0800 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.0 |
On 10/19/2009 20:05, Antonio Diaz Diaz wrote:
JonY wrote:This patch makes lzlib 0.6 build on MSYS/MinGW. Unfortunately I was unable to get the lzcheck test to pass, it mysteriously segfaults right after entering main(). It happens with mingw, mingw-w64, and msvc2008.I suppose this is because lzcheck uses a couple big local arrays. Please, try the attaced patch.
Yes, the patch worked nicely, I didn't know the default stack size on Windows was that limited. I've discovered that it needs to be set to a value slightly above 2MB for the original lzcheck work.
I've attached a new patch that integrates the lzcheck and Makefile.in changes, no other changes since the last patch. If the patch is OK, I'll send the fully patched sources to you in private.
Thanks.
w32.patch
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |