In perl.git, the branch smoke-me/arc/dirhandle-fileno has been created
<http://perl5.git.perl.org/perl.git/commitdiff/2f3088ba31fbae1fb7a465a84fc7585ca25177a5?hp=0000000000000000000000000000000000000000>
at 2f3088ba31fbae1fb7a465a84fc7585ca25177a5 (commit)
- Log -----------------------------------------------------------------
commit 2f3088ba31fbae1fb7a465a84fc7585ca25177a5
Author: Aaron Crane <[email protected]>
Date: Fri Oct 17 16:59:22 2014 +0100
Make fileno() builtin work on directory handles
This requires OS support in the form of either the dirfd() function, or a
dd_fd member in the DIR struct. POSIX.1-2008 specifies the former. If
neither is available, fileno() on a directory handle will return undef and
set errno.
-----------------------------------------------------------------------
--
Perl5 Master Repository