summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2014-12-25 13:11:21 +0900
committerAkira TAGOH <akira@tagoh.org>2014-12-25 13:11:21 +0900
commit365809938e901e603d2fe93363545e1c1afc1816 (patch)
treea811537be13b5671a93e6ac4b046451a15f771e2
parent456937cd15568c7f1a633445dee44ae8e2ed395f (diff)
Bump the cache version to 5
FcPattern isn't compatible to the older.
-rw-r--r--fontconfig/fontconfig.h2
-rw-r--r--src/fcint.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/fontconfig/fontconfig.h b/fontconfig/fontconfig.h
index 85cdd6df..c571e28b 100644
--- a/fontconfig/fontconfig.h
+++ b/fontconfig/fontconfig.h
@@ -66,7 +66,7 @@ typedef int FcBool;
* it means multiple copies of the font information.
*/
-#define FC_CACHE_VERSION "4"
+#define FC_CACHE_VERSION "5"
#define FcTrue 1
#define FcFalse 0
diff --git a/src/fcint.h b/src/fcint.h
index 45dfc6e6..80205c95 100644
--- a/src/fcint.h
+++ b/src/fcint.h
@@ -470,7 +470,7 @@ typedef struct _FcCaseFold {
#define FC_CACHE_MAGIC_MMAP 0xFC02FC04
#define FC_CACHE_MAGIC_ALLOC 0xFC02FC05
-#define FC_CACHE_CONTENT_VERSION 4
+#define FC_CACHE_CONTENT_VERSION 5
struct _FcAtomic {
FcChar8 *file; /* original file name */