From 8ae9e4f43e887b8911e599fc9c67c8812da49949 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Sat, 9 Mar 2013 14:01:05 +0000 Subject: Add missing fcntl(..., F_DUPFD_CLOEXEC) argument. --- dist/fontconfig/src/fccompat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/fontconfig/src/fccompat.c b/dist/fontconfig/src/fccompat.c index 169cab9ed..a2c3bf349 100644 --- a/dist/fontconfig/src/fccompat.c +++ b/dist/fontconfig/src/fccompat.c @@ -84,7 +84,7 @@ FcMakeTempfile (char *template) # ifdef F_DUPFD_CLOEXEC if (fd != -1) { - int newfd = fcntl(fd, F_DUPFD_CLOEXEC); + int newfd = fcntl(fd, F_DUPFD_CLOEXEC, STDIN_FILENO); close(fd); fd = newfd; -- cgit v1.2.3