aboutsummaryrefslogtreecommitdiff
path: root/fontconfig/src/fccache.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-01-08 12:40:16 +0100
committermarha <marha@users.sourceforge.net>2013-01-08 12:40:16 +0100
commitc2ada0e240f7c721ed09c9570b5375833c47370c (patch)
treeedf46fc67b3b6af1a10b2e5e223712fdc6dc77ea /fontconfig/src/fccache.c
parent066de3c6d46ca099caba474b8e7d132ec772bc65 (diff)
parent8a26872f0c9102cb357345eca24a4bf7401bbe70 (diff)
downloadvcxsrv-c2ada0e240f7c721ed09c9570b5375833c47370c.tar.gz
vcxsrv-c2ada0e240f7c721ed09c9570b5375833c47370c.tar.bz2
vcxsrv-c2ada0e240f7c721ed09c9570b5375833c47370c.zip
Merge remote-tracking branch 'origin/released'
* origin/released: fontconfig mesa git update 8 jan 2013 Conflicts: fontconfig/src/fccache.c
Diffstat (limited to 'fontconfig/src/fccache.c')
-rwxr-xr-x[-rw-r--r--]fontconfig/src/fccache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fontconfig/src/fccache.c b/fontconfig/src/fccache.c
index 5926a398b..c37cbe148 100644..100755
--- a/fontconfig/src/fccache.c
+++ b/fontconfig/src/fccache.c
@@ -156,7 +156,7 @@ FcDirCacheOpenFile (const FcChar8 *cache_file, struct stat *file_stat)
if (FcStat (cache_file, file_stat) < 0)
return -1;
#endif
- fd = open((char *) cache_file, O_RDONLY | O_BINARY);
+ fd = FcOpen((char *) cache_file, O_RDONLY | O_BINARY);
if (fd < 0)
return fd;
#ifndef _WIN32
@@ -978,7 +978,7 @@ FcDirCacheWrite (FcCache *cache, FcConfig *config)
if (!FcAtomicLock (atomic))
goto bail3;
- fd = open((char *)FcAtomicNewFile (atomic), O_RDWR | O_CREAT | O_BINARY, 0666);
+ fd = FcOpen((char *)FcAtomicNewFile (atomic), O_RDWR | O_CREAT | O_BINARY, 0666);
if (fd == -1)
goto bail4;
@@ -1456,7 +1456,7 @@ FcDirCacheCreateTagFile (const FcChar8 *cache_dir)
goto bail1;
if (!FcAtomicLock (atomic))
goto bail2;
- fd = open((char *)FcAtomicNewFile (atomic), O_RDWR | O_CREAT, 0644);
+ fd = FcOpen((char *)FcAtomicNewFile (atomic), O_RDWR | O_CREAT, 0644);
if (fd == -1)
goto bail3;
fp = fdopen(fd, "wb");