freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] cff_get_name_index crash


From: Sean McBride
Subject: Re: [ft-devel] cff_get_name_index crash
Date: Wed, 7 Feb 2007 11:52:03 -0500

On 2007-02-07 17:47, Tom Parker said:

>> ft_strcpy, ft_strncpy -> strlcpy
>> ft_strcat -> strlcat
>
>Neither are currently included in glibc (and some effort with google
>seems to indicate this is likely to stay this way for the foreseeable
>future), and so if freetype wants to use those it would have to maintain
>it's own variants of them.

Really?  Oh well, that sucks.  :)

>Uses of ft_strcpy and ft_strcat could also be replaced with the strn*
>varieties, which would be some improvement.

Agreed, the 'n' variety is not as good as the 'l' variety, but better
than the status quo.

--
____________________________________________________________
Sean McBride, B. Eng                 address@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada






reply via email to

[Prev in Thread] Current Thread [Next in Thread]