]> git.wh0rd.org - fontconfig.git/commit
[cache] After writing cache to file, update the internal copy to reflect this
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 5 Feb 2009 07:46:16 +0000 (02:46 -0500)
committerBehdad Esfahbod <behdad@behdad.org>
Sun, 15 Feb 2009 21:40:25 +0000 (13:40 -0800)
commitb697fa2523a6d3fe091e14710d14720a9e051bf1
treeedb1023992895d043c183948343e648ff3682a5a
parentecce22d40cfbc50bbe19891035c06bbbeef5232f
[cache] After writing cache to file, update the internal copy to reflect this

Only do it for small caches though.  For large cache we'd better off loading
the cache file again, mmap()ing it.

Based on patch from Diego Santa Cruz.
src/fccache.c