diff options
author | Akira TAGOH <akira@tagoh.org> | 2017-12-18 12:09:14 +0900 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2017-12-18 12:11:21 +0900 |
commit | dd21876e64db4eaf592297e97355ffdf87f7d2f6 (patch) | |
tree | 4d844934b9e39097e416ad981c171217974d80bc /src | |
parent | dd1a92911b1abc4c266ad33d88ec8161342f0d69 (diff) |
Update .uuid only when -r is given but not -f.
Diffstat (limited to 'src')
-rw-r--r-- | src/fcdir.c | 2 | ||||
-rw-r--r-- | src/fcint.h | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/src/fcdir.c b/src/fcdir.c index c6514a46..d6be0bec 100644 --- a/src/fcdir.c +++ b/src/fcdir.c @@ -409,7 +409,7 @@ FcDirCacheRead (const FcChar8 *dir, FcBool force, FcConfig *config) { FcCache *cache = NULL; - FcDirCacheCreateUUID ((FcChar8 *) dir, force, config); + FcDirCacheCreateUUID ((FcChar8 *) dir, FcFalse, config); /* Try to use existing cache file */ if (!force) cache = FcDirCacheLoad (dir, config, NULL); diff --git a/src/fcint.h b/src/fcint.h index e1c9a9f7..3559ad6d 100644 --- a/src/fcint.h +++ b/src/fcint.h @@ -596,11 +596,6 @@ struct _FcValuePromotionBuffer { /* fccache.c */ -FcPrivate FcBool -FcDirCacheCreateUUID (FcChar8 *dir, - FcBool force, - FcConfig *config); - FcPrivate FcCache * FcDirCacheScan (const FcChar8 *dir, FcConfig *config); |