Signed-off-by: Matthieu Herrb <matthieu.herrb@xxxxxxx> --- src/fccompat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 1.8.0.1 _______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/fontconfig