Pretend that stat's mtime is broken, so that the fontconfig cache does not depend upon modification time to determine if a cache is stale. diff --git a/src/fcstat.c b/src/fcstat.c index 5a2bd7c..d603a96 100644 --- a/src/fcstat.c +++ b/src/fcstat.c @@ -431,6 +431,7 @@ FcIsFsMmapSafe (int fd) FcBool FcIsFsMtimeBroken (const FcChar8 *dir) { + return FcTrue; int fd = FcOpen ((const char *) dir, O_RDONLY); if (fd != -1) ='cgit logo'/> index : guix
Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/tests/cache.scm
AgeCommit message (Expand)Author
2022-06-04cache: Catch invalid 'last-expiry-cleanup'....Fixes <http://issues.guix.gnu.org/55638>. * guix/cache.scm (maybe-remove-expired-cache-entries)[last-expiry-date]: Use 'get-string-all' + 'string->number' instead of 'read'; ignore invalid numbers. * tests/cache.scm ("maybe-remove-expired-cache-entries, empty cache") ("maybe-remove-expired-cache-entries, corrupted cache"): New tests. Co-authored-by: Ludovic Courtès <ludo@gnu.org> zimoun