[fontconfig/f19] Fix the race condition issue on updating caches. (#921706)

Akira TAGOH tagoh at fedoraproject.org
Tue Jul 8 09:48:16 UTC 2014


commit e3c92c507a1633b9738a26fa0aeb684d5c16111d
Author: Akira TAGOH <tagoh at redhat.com>
Date:   Tue Jul 8 18:48:27 2014 +0900

    Fix the race condition issue on updating caches. (#921706)

 fontconfig-fix-race-condition.patch |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/fontconfig-fix-race-condition.patch b/fontconfig-fix-race-condition.patch
index 0acca9b..24fbc95 100644
--- a/fontconfig-fix-race-condition.patch
+++ b/fontconfig-fix-race-condition.patch
@@ -238,7 +238,7 @@ diff -pruN fontconfig-2.10.93.orig/fc-cache/fc-cache.c fontconfig-2.10.93/fc-cac
 -    FcFini ();
 +    /* the resolution of mtime on FAT is 2 seconds */
      if (changed)
- 	sleep (2);
+ 	sleep (1);
      if (verbose)
 diff -pruN fontconfig-2.10.93.orig/fontconfig/fontconfig.h fontconfig-2.10.93/fontconfig/fontconfig.h
 --- fontconfig-2.10.93.orig/fontconfig/fontconfig.h	2013-05-20 17:42:34.000000000 +0900


More information about the scm-commits mailing list