aboutsummaryrefslogtreecommitdiff
path: root/fontconfig/src/fcatomic.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/fcatomic.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/fcatomic.c')
-rwxr-xr-xfontconfig/src/fcatomic.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fontconfig/src/fcatomic.c b/fontconfig/src/fcatomic.c
index 45048aa9f..c35a829fd 100755
--- 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");