[Fontconfig] testing the mmap cache

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

 



Thanks for the patch, I've applied it to the branch.

pat

Matthias Clasen wrote:
> I tried to build and use the 2.4 branch today, and 
> things generally seem to work fine for me. Here is
> one small patch which I needed, otherwise Pango
> would segfault.
> 
> Index: src/fcpat.c
> ===================================================================
> RCS file: /cvs/fontconfig/fontconfig/src/fcpat.c,v
> retrieving revision 1.27.2.6
> diff -u -r1.27.2.6 fcpat.c
> --- src/fcpat.c 27 Aug 2005 02:34:24 -0000      1.27.2.6
> +++ src/fcpat.c 1 Sep 2005 16:49:03 -0000
> @@ -792,7 +792,7 @@
>      for (i = 0; i < p->num; i++)
>      {
>         h = (((h << 1) | (h >> 31)) ^
> -            FcStringHash ((const FcChar8 *)
> ((FcPatternEltU(p->elts)+i)->object)) ^
> +            FcStringHash
> (FcObjectPtrU((FcPatternEltU(p->elts)+i)->object)) ^
>              FcValueListHash ((FcPatternEltU(p->elts)+i)->values));
>      }
>      return h;
> 
> 
> Very nice to see 600K of fontconfig vanish from the massif chart...
> 
> Regards,  Matthias
> 
> _______________________________________________
> Fontconfig mailing list
> Fontconfig@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/fontconfig



[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux