summaryrefslogtreecommitdiff
path: root/src/fcstat.c
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2012-12-06 20:01:52 +0900
committerAkira TAGOH <akira@tagoh.org>2013-01-08 15:34:09 +0900
commit596931c8b4a7a35cbff9c33437d3cd44395d9c3f (patch)
treee3bb7d3f5df05e299c8484b10e0d0a354d5ac472 /src/fcstat.c
parentd7de1b5c6d4b8800825913ac40a9cea00824f2f8 (diff)
downloadfontconfig-596931c8b4a7a35cbff9c33437d3cd44395d9c3f.tar.gz
Bug 47705 - Using O_CLOEXEC
Diffstat (limited to 'src/fcstat.c')
-rw-r--r--src/fcstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fcstat.c b/src/fcstat.c
index 9763c21..390f45c 100644
--- a/src/fcstat.c
+++ b/src/fcstat.c
@@ -336,7 +336,7 @@ FcIsFsMmapSafe (int fd)
FcBool
FcIsFsMtimeBroken (const FcChar8 *dir)
{
- int fd = open ((const char *) dir, O_RDONLY);
+ int fd = FcOpen ((const char *) dir, O_RDONLY);
if (fd != -1)
{