[Fontconfig] Re: Patch: fix for fc-cache with relative path

Frederic Crozat fcrozat at mandriva.com
Thu Jan 12 08:15:32 PST 2006


Le jeudi 12 janvier 2006 à 13:11 +0100, Mike FABIAN a écrit :
> Mike FABIAN <mfabian at suse.de> さんは書きました:
> 
> > No new cache file has been generated:
> >
> >     mfabian at magellan:/usr/X11R6/lib/X11/fonts/Type1$ ls /var/cache/fontconfig/
> >     d6867d8c7d183335b46263581b96fdc1.cache-2  stamp
> >     mfabian at magellan:/usr/X11R6/lib/X11/fonts/Type1$ 
> >
> >>> -a similar problem happen when using : fc-cache /foo/bar and
> >>> fc-cache /foo/bar/ : strings used to generate md5sum are not the same,
> >>> resulting in different cache.
> >>> 
> >>> The attached patch fixes the issue.
> >>
> >> I've committed my patch.
> >
> > Hmm, that problem seems to persist as well:
> > [ ... description how to reproduce ...]
> 
> I believe I can fix this with the attached patch:

I can confirm it fixes both issues : fc-cache . and fc-cache /foo/bar
vs /foo/bar/

-- 
Frederic Crozat <fcrozat at mandriva.com>
Mandriva



More information about the Fontconfig mailing list