16 lines
570 B
Diff
16 lines
570 B
Diff
diff -ru fontconfig-2.3.93.20060210.orig/src/fccache.c fontconfig-2.3.93.20060210/src/fccache.c
|
|
--- fontconfig-2.3.93.20060210.orig/src/fccache.c 2006-02-10 13:06:08.000000000 +0100
|
|
+++ fontconfig-2.3.93.20060210/src/fccache.c 2006-02-10 14:39:40.000000000 +0100
|
|
@@ -741,7 +741,11 @@
|
|
* the cache file, the cache is not valid
|
|
*/
|
|
if (dir_stat.st_mtime > file_stat.st_mtime)
|
|
+ {
|
|
+ fprintf (stderr, "FC: cache for %s is outdated,\n"
|
|
+ " consider running \"fc-cache\" as root!\n", dir);
|
|
return FcFalse;
|
|
+ }
|
|
|
|
return FcTrue;
|
|
|