projects
/
platform
/
upstream
/
fontconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6118781
)
Add missing file descriptor to F_DUPFD_CLOEXEC
author
Akira TAGOH
<akira@tagoh.org>
Tue, 22 Jan 2013 01:26:41 +0000
(10:26 +0900)
committer
Akira TAGOH
<akira@tagoh.org>
Tue, 22 Jan 2013 01:26:41 +0000
(10:26 +0900)
Patch from Matthieu Herrb
src/fccompat.c
patch
|
blob
|
history
diff --git
a/src/fccompat.c
b/src/fccompat.c
index
2aa29dd
..
5ec2135
100644
(file)
--- 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;