Re: patch: destroy ~/.fonts.cache-2 if it doesn't start with FC_GLOBAL_MAGIC_COOKIE or no string can be read at all from that file.

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

 



Mike FABIAN wrote:
I believe if FcGlobalCacheLoad () cannot read any string at all from
~/.fonts.cache-2 or if the file does not start with
FC_GLOBAL_MAGIC_COOKIE it should exit with "goto bail_and_destroy;" to
delete the broken file instead of just "return;".

Sounds good to me.  fontconfig now toasts broken cache files.

pat
_______________________________________________
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