On Thu Sep 06 2007 at 23:41:39 -0400, Blair Sadewitz wrote:
> I found out what caused this panic (in pool_get()):
>
> In lfs_subr.c, maxbpp is type int. The pool functions naturally want
> argument 2 (size) to be type size_t. Given that I'm using the amd64
> port, I'm not surprised that pool_get complained about a page being
> empty!
>
> I'm using gmail in elinks right now and don't have screen installed,
> so I can't paste a patch into the body of this email. However, I
> trust changing the type of maxbpp to size_t isn't too laborious for an
> intrepid developer.
I probably misunderstand you. Are you saying that pool_get() fails
because the pool needs to be initialized with a size > 2^31? Did you
test this fix?
I'll wait for the patch ;)
--
Antti Kantee <pooka@iki.fi> Of course he runs NetBSD
http://www.iki.fi/pooka/http://www.NetBSD.org/
"la qualité la plus indispensable du cuisinier est l'exactitude"