From 6904a83fac06ee37f0b2ca19f0658d449bd92ea6 Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Mon, 27 Sep 2010 22:19:15 -0700 Subject: [PATCH] perldelta for [perl #75174] (dirp_dup) --- pod/perldelta.pod | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 66f0ec7..1b98619 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -118,6 +118,13 @@ has come to rely on the incorrect behavior. [ List each incompatible change as a =head2 entry ] +=head2 Directory handles not copied to threads + +On systems that do not have a C function, newly-created threads no +longer inherit directory handles from their parent threads. Such programs +would probably have crashed anyway +L<[perl #75154]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=75154>. + =head1 Deprecations XXX Any deprecated features, syntax, modules etc. should be listed here. @@ -605,6 +612,17 @@ It also happened when a glob was assigned to, or returned from, an element of a tied array or hash L<[perl #36051]|http://rt.perl.org/rt3//Public/Bug/Display.html?id=36051>. +=item * + +Creating a new thread when directory handles were open used to cause a +crash, because the handles were not cloned, but simply passed to the new +thread, resulting in a double free. + +Now directory handles are properly, on systems that have a C +function. On other systems, new threads simply do not inherit directory +handles from their parent threads +L<[perl #75154]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=75154>. + =back =head1 Known Problems -- 1.8.3.1