This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Refactor the "has fchdir" and "has dirfd" logic to one place.