fontconfig/fontconfig-sleep-less.patch

13 lines
517 B
Diff
Raw Permalink Normal View History

2017-12-14 08:01:11 +00:00
diff -pruN fontconfig-2.12.91.orig/fc-cache/fc-cache.c fontconfig-2.12.91/fc-cache/fc-cache.c
--- fontconfig-2.12.91.orig/fc-cache/fc-cache.c 2017-11-20 21:02:20.000000000 +0900
+++ fontconfig-2.12.91/fc-cache/fc-cache.c 2017-12-14 16:59:19.002003145 +0900
@@ -413,7 +413,7 @@ main (int argc, char **argv)
2013-10-11 04:11:10 +00:00
*/
/* the resolution of mtime on FAT is 2 seconds */
if (changed)
- sleep (2);
+ sleep (1);
if (verbose)
2017-12-14 08:01:11 +00:00
printf ("%s: %s\n", argv[0], ret ? _("failed") : _("succeeded"));
2013-10-11 04:11:10 +00:00
return ret;