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
This archive was generated by hypermail 2.2.0 : Wed Jun 02 2010 - 12:00:03 MDT