Silamael wrote:
On 06/02/2010 08:54 AM, Silamael wrote:
Hello!
Yesterday i tried to build the new version of Squid on OpenBSD 4.6.
Unfortunately there's some problem in src/mem.cc. new_pool_limit is of
type size_t which is a long unsigned int. In line 359 a -1 is written
into new_pool_limit. Newer g++ versions seems to accept this as valid
but OpenBSD's g++ 3.3.5 complains about it.
Attached is a small patch to fix this.
PS: Your bugzilla site seems to be down at moment. I'm just getting some
Perl error messages.
-- Matthias
Further looked into this and for me it now just seems to be a typo.
In MemPools::setIdleLimit the argument type is ssize_t.
The new patch attached should fix this properly.
-- Matthias
Aye. Our build farm systems caught this mere hours after release :(
Sorry about that. The patch for BSD systems is at:
http://www.squid-cache.org/Versions/v3/3.1/changesets/
Amos
--
Please be using
Current Stable Squid 2.7.STABLE9 or 3.1.3