This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #75174] Clone dir handles
authorFather Chrysostomos <sprout@cpan.org>
Tue, 28 Sep 2010 04:30:49 +0000 (21:30 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 28 Sep 2010 04:30:49 +0000 (21:30 -0700)
commit11a11ecf4bea72b17d250cfb43c897be1341861e
tree3e5c53f0e38d7a0d96cfd17fb24444f101d9e88a
parent6034bceb5f5e62e9785bafdf0590c90656db1cc8
[perl #75174] Clone dir handles

On systems that support fchdir, use it to clone dir handles.

On other systems, at least for now, don’t give the new thread a copy
of the handle. This is not ideal, but better than crashing.
MANIFEST
sv.c
t/op/threads-dirh.t [new file with mode: 0644]