aboutsummaryrefslogtreecommitdiff
path: root/fontconfig/src/fcatomic.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-01-08 09:23:42 +0100
committermarha <marha@users.sourceforge.net>2013-01-08 09:23:42 +0100
commit8a26872f0c9102cb357345eca24a4bf7401bbe70 (patch)
treeb12a3cd7065de4d4a717ddde3d56345d012a55b7 /fontconfig/src/fcatomic.c
parent034d6305a11c9d5dff9318aa897073402d08d705 (diff)
downloadvcxsrv-8a26872f0c9102cb357345eca24a4bf7401bbe70.tar.gz
vcxsrv-8a26872f0c9102cb357345eca24a4bf7401bbe70.tar.bz2
vcxsrv-8a26872f0c9102cb357345eca24a4bf7401bbe70.zip
fontconfig mesa git update 8 jan 2013
fontconfig: 4e6c7d0827c5b3b20205521bf9bd2e94e704b36d mesa: a60c567fcf29f5d2a41222a8826fee2cb0eb4458
Diffstat (limited to 'fontconfig/src/fcatomic.c')
-rw-r--r--fontconfig/src/fcatomic.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fontconfig/src/fcatomic.c b/fontconfig/src/fcatomic.c
index cb5b7a5e6..c1daed938 100644
--- a/fontconfig/src/fcatomic.c
+++ b/fontconfig/src/fcatomic.c
@@ -50,7 +50,6 @@
#include "fcint.h"
#include <sys/types.h>
#include <sys/stat.h>
-#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
#include <time.h>
@@ -109,7 +108,7 @@ FcAtomicLock (FcAtomic *atomic)
strcpy ((char *) atomic->tmp, (char *) atomic->file);
strcat ((char *) atomic->tmp, TMP_NAME);
- fd = mkstemp ((char *) atomic->tmp);
+ fd = FcMakeTempfile ((char *) atomic->tmp);
if (fd < 0)
return FcFalse;
f = fdopen (fd, "w");