Re: [squid-users] [PATCH] Squid 3.1.4 not building under OpenBSD 4.6

From: Silamael <Silamael_at_coronamundi.de>
Date: Wed, 02 Jun 2010 12:15:33 +0200

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

Received on Wed Jun 02 2010 - 10:15:37 MDT

This archive was generated by hypermail 2.2.0 : Wed Jun 02 2010 - 12:00:03 MDT