[poppler] strndup - updated

Kristian Høgsberg krh at bitplanet.net
Tue Jan 29 11:52:26 PST 2008


On Jan 29, 2008 10:32 AM, Jonathan Kew <jonathan_kew at sil.org> wrote:
> > On 28 Jan 2008, at 10:45 pm, Kristian Høgsberg wrote:
> >
> >> The right fix is to split the
> >> code out into its own function and put it in goo/gmem.c along with
> >> the
> >> other memory/string functions there.
> >
>
> Attached is a patch that gets rid of the offending #ifdef, and uses a
> new gstrndup function instead. (This also has the side effect of
> removing the pre-existing strndup/gfree bug.)

That looks good, thanks.
Kristian


More information about the poppler mailing list