[Fontconfig] fontconfig cleanup patch
Patrick Lam
plam at MIT.EDU
Mon Sep 19 12:00:28 EST 2005
Behdad Esfahbod wrote:
> [sent this patch to Keith a while back. resending here.]
>
> Attaching the patch.
>
> The theme is:
>
> - Cast sizeof to int, to shut up signedness warnings in comparison.
>
> - Add consts were appropriate.
>
> - Use char arrays instead of char pointers in static const
> structures. Optimizes per-process memory and relocation time.
> It's a bit controversial, since hardcodes upper limit on the size
> of the strings, but gcc would nag if you break that limit. I
> find it safe enough, YMMV :)
Could you make a patch against the branch? I intend to make a dev
release of the branch as soon as I can fix the problem with
gnome-font-properties...
pat
More information about the Fontconfig
mailing list