This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from:
131d45a
)
Explicitly use and check for FD_CLOEXEC.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Wed, 26 Aug 2015 12:55:37 +0000
(08:55 -0400)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Wed, 26 Aug 2015 15:40:40 +0000
(11:40 -0400)
This may break places which have the FD_CLOEXEC functionality
but do not have the FD_CLOEXEC define.
In any case, using a boolean for the F_SETFD flag is icky.
Using an explicit 1 is also dubious.
No differences found