src/fccompat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 9dbc282796e9a4d5a2a8cc7d1c8e29b9154e91c0 Author: Akira TAGOH <akira@xxxxxxxxx> Date: Tue Jan 22 10:26:41 2013 +0900 Add missing file descriptor to F_DUPFD_CLOEXEC Patch from Matthieu Herrb diff --git a/src/fccompat.c b/src/fccompat.c index 2aa29dd..5ec2135 100644 --- a/src/fccompat.c +++ b/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; _______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/fontconfig