diff options
author | marha <marha@users.sourceforge.net> | 2013-01-08 12:40:16 +0100 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2013-01-08 12:40:16 +0100 |
commit | c2ada0e240f7c721ed09c9570b5375833c47370c (patch) | |
tree | edf46fc67b3b6af1a10b2e5e223712fdc6dc77ea /fontconfig/src/fccache.c | |
parent | 066de3c6d46ca099caba474b8e7d132ec772bc65 (diff) | |
parent | 8a26872f0c9102cb357345eca24a4bf7401bbe70 (diff) | |
download | vcxsrv-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.c | 6 |
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"); |