On Wed, 22 Dec 2004 18:06:49 GMT, Peter Naulls <peter(a)chocky.org> wrote:
In message
<Pine.LNX.4.44.0412221727350.18183-100000(a)tarrant.ecs.soton.ac.uk>
John-Mark Bell <jmb202(a)ecs.soton.ac.uk> wrote:
>
> On Wed, 22 Dec 2004, Dom wrote:
>
> >
> >
> > Whilst mucking about in the code I noticed a
> > possible memory leak:
> >
> > 1161a1162,1164
> > > //dom:memory leak?
> > > box_free(box);
> > >
>
> Which file is this in? (I presume render/box.c? (I can't be sure as my
> local copy is modified somewhat))
When generating patches/diffs, please use unified diffs, produced with
"diff -u file1.c file.c" or "cvs diff -u file.c", etc, and paste
the
entire context.
Fair enough, tis my first time using cvs etc in anger today.
> The version of libxml2 on
>
http://netsurf.strcprstskrzkrk.co.uk/developer/ wants
> to link to two symbols __nan and __huge_valf...
> I've compiled a later version of libxml2 which seems
> ok if that needs to be uploaded instead??
Using arbitarily compiled libraries is something we really want to get
away from on RISC OS, and why I've provided repeatable builds of
libraries with known options on my site. The only reason that NetSurf
developers have provided their own versions is that they've turned off
many options in libxml, curl, etc to make them much smaller (because
we're sadly still stick with static linking).
Fair enough, that is why I wanted to sort this out, which version
_should_ people be using though? I'll use the version from riscos.info
from now on which seems to be smaller to the one on netsurf..../developer?
Can we use this one as standard and copy to the developer page? It is
good to have a set of "standard" libraries against which to code so
we're all on the same page
> ...which aren't present in gcc.
GCC doesn't provide very many symbols itself (mostly integer/float
conversion and division and such), so this isn't a very useful comment.
It may well have been present in Unixlib in the past before maths
functionality changed.
By GCC I meant GCC/Unixlib, I'm sorry if this lack of clarity has so
offended you. It does look like it came from Unixlib at some point
it's now declared as static though.
Dom