Bump up magic version; we changed the binary format.

This commit is contained in:
Patrick Lam 2006-02-17 14:44:42 +00:00
parent 12f46c42fa
commit 310817371c
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2006-02-17 Patrick Lam <plam@mit.edu>
* src/fcint.h (FC_CACHE_MAGIC):
Bump up magic version; we changed the binary format.
2006-02-17 Patrick Lam <plam@mit.edu> 2006-02-17 Patrick Lam <plam@mit.edu>
* fc-cat/fc-cat.c (main): * fc-cat/fc-cat.c (main):

View File

@ -251,7 +251,7 @@ typedef struct _FcStrBuf {
} FcStrBuf; } FcStrBuf;
typedef struct _FcCache { typedef struct _FcCache {
int magic; /* 0xFC02FC02 */ int magic; /* FC_CACHE_MAGIC */
int count; /* number of bytes of data in block */ int count; /* number of bytes of data in block */
int bank; /* bank ID */ int bank; /* bank ID */
int pattern_count; /* number of FcPatterns */ int pattern_count; /* number of FcPatterns */
@ -324,7 +324,7 @@ typedef struct _FcCaseFold {
* cache which is then rewritten to the users home directory * cache which is then rewritten to the users home directory
*/ */
#define FC_CACHE_MAGIC 0xFC02FC02 #define FC_CACHE_MAGIC 0xFC02FC03
typedef struct _FcGlobalCacheDir FcGlobalCacheDir; typedef struct _FcGlobalCacheDir FcGlobalCacheDir;