[poppler] strndup is not universally available

Jonathan Kew jonathan_kew at sil.org
Mon Jan 28 12:05:08 PST 2008


On 28 Jan 2008, at 7:46 pm, Albert Astals Cid wrote:

> A Dilluns 28 Gener 2008, Jonathan Kew va escriure:
>> The patch in December to support the Adobe Glyph Naming convention
>> introduced the use of strndup() into GfxFont.cc. However, strndup is
>> a GNU library extension, not universally available and not defined in
>> POSIX, AFAIK.
>>
>> Therefore, I suggest that it should be checked at configure time, and
>> an alternative provided for systems that lack this function:
>
> Thanks :-)
>
> Commited, but please next time attach the patch as a file, it's  
> much easier to
> apply than having to get it from the mail window, unbreak spaces  
> and finally
> apply it manually :-D

Will do. (You'll see that another one was already sent in the wrong  
way; apologies in advance!)

JK



More information about the poppler mailing list