[poppler] strndup - updated

Jonathan Kew jonathan_kew at sil.org
Tue Jan 29 07:32:24 PST 2008

> 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.)


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: strndup-patch.txt
Url: http://lists.freedesktop.org/archives/poppler/attachments/20080129/500524cc/attachment.txt 

More information about the poppler mailing list