This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Explicitly use and check for FD_CLOEXEC.
authorJarkko Hietaniemi <jhi@iki.fi>
Wed, 26 Aug 2015 12:55:37 +0000 (08:55 -0400)
committerJarkko 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