• Keith Packard's avatar
    Do not remove UUID file when a scanned directory is empty · 5f12f564
    Keith Packard authored
    Because FcDirCacheDeleteUUID does not reset the modification time on
    the directory, and because FcDirCacheRead unconditionally creates the
    UUID file each time it is run, any empty directory in the cache will
    get its timestamp changed each time the cache for that directory is
    read.
    
    Instead, just leave the UUID file around as it is harmless.
    
    The alternative would be to only create the UUID file after the cache
    has been created and the directory has been discovered to be
    non-empty, but that would delay the creation of the UUID file.
    Signed-off-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
    5f12f564
Name
Last commit
Last update
conf.d Loading commit data...
doc Loading commit data...
fc-cache Loading commit data...
fc-case Loading commit data...
fc-cat Loading commit data...
fc-conflist Loading commit data...
fc-lang Loading commit data...
fc-list Loading commit data...
fc-match Loading commit data...
fc-pattern Loading commit data...
fc-query Loading commit data...
fc-scan Loading commit data...
fc-validate Loading commit data...
fontconfig Loading commit data...
its Loading commit data...
m4 Loading commit data...
po Loading commit data...
po-conf Loading commit data...
src Loading commit data...
test Loading commit data...
.gitlab-ci.yml Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
Tools.mk Loading commit data...
autogen.sh Loading commit data...
config-fixups.h Loading commit data...
configure.ac Loading commit data...
fontconfig-zip.in Loading commit data...
fontconfig.pc.in Loading commit data...
fontconfig.spec.in Loading commit data...
fonts.conf.in Loading commit data...
fonts.dtd Loading commit data...
git.mk Loading commit data...
local.conf Loading commit data...
new-version.sh Loading commit data...