In perl.git, the branch smoke-me/jhi/f_setfd_fd_cloexec has been created
<http://perl5.git.perl.org/perl.git/commitdiff/070b774362cbf7ad90bb76fced6faa9dc45d56ca?hp=0000000000000000000000000000000000000000>
at 070b774362cbf7ad90bb76fced6faa9dc45d56ca (commit)
- Log -----------------------------------------------------------------
commit 070b774362cbf7ad90bb76fced6faa9dc45d56ca
Author: Jarkko Hietaniemi <[email protected]>
Date: Wed Aug 26 08:55:37 2015 -0400
Explicitly use and check for FD_CLOEXEC.
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.
M perl.c
M pp_sys.c
M toke.c
M util.c
commit 5c16d5fc3be78f3a35a28494303061e972171d14
Author: Jarkko Hietaniemi <[email protected]>
Date: Wed Aug 26 08:53:45 2015 -0400
Note that the all the fd flags are saved/restored.
FD_CLOEXEC is currently usually the only defined fd flag
for F_GETFD/F_SETFD, but let's not assume that.
M doio.c
-----------------------------------------------------------------------
--
Perl5 Master Repository