diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2013-03-09 14:01:05 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2013-03-09 14:01:05 +0000 |
commit | 8ae9e4f43e887b8911e599fc9c67c8812da49949 (patch) | |
tree | d6d993cf0cee6983c992df2003415978a791df23 /dist | |
parent | 5fae7d64945e138d615ae096ceb020c3af050169 (diff) |
Add missing fcntl(..., F_DUPFD_CLOEXEC) argument.
Diffstat (limited to 'dist')
-rw-r--r-- | dist/fontconfig/src/fccompat.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |