Ok, code similar to what bulk88 suggested seems to fix a majority of my
windows woes (I got a vm spun up to test).
On Thu, Dec 11, 2014 at 11:59 AM, Chad Granum wrote:

Is the bug significant enough to release a new 5.8, 5.10, 5.12, 5.14,
5.16, 5.18 versions as well?
On Thu, Dec 11, 2014 at 11:43 AM, Chad Granum wrote:

I could give something like that a try.

On Thu, Dec 11, 2014 at 11:40 AM, bulk88 via RT <
perlbug-followup@perl.org> wrote:
On Thu Dec 11 11:16:00 2014, exodist7@gmail.com wrote:
Mainly I am looking for something I can do with the 3 functions that use
local in the above file. The functions are thankfully small and
If I could make them work in windows on older perls that would be

Why doesn't

my $dolocal;
if($^O eq 'MSWin32' && $] < 5.020002) { #rework so they use constant
subs for folding
my $oldEVAL_ERROR = $@;
my $oldERRNO = $!;
} else {
$dolocal = 1;
local ($@, $!) if $dolocal;

work ?

On Thu Dec 11 11:17:36 2014, exodist7@gmail.com wrote:
Pretty much anyone who uses Test-Simple on windows would be a user of this.
Right now I have several tests simply skip on windows. Anyone who writes
tests that fork (a lot more likely with the recently added fork support
code) would have issues on windows unless we get something like this.

My worry is, the rest of CPAN authors put in "skip if Win32" from "5.8.0
2002-Jul-18" to Dec 2014, 12 years [1], if not counting from the bug report
filing date which was 8 years ago. Half the code that put in "skip if
Win32" is dead/abandoned/minimally maintained, and *nobody* except you will
revisit any "skip if Win32" statements or add "use Win32::FixMyForkCrash;"
unless I (bulk88) personally submit patches. Chicken and the egg.

[1] the real time is longer than 12 years, probably 13 years, since
until 5.22.0 and 5.21.2 are released, this bug is "open" and fork is

bulk88 ~ bulk88 at hotmail.com

via perlbug: queue: perl5 status: pending release

Search Discussions

Discussion Posts


Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 14 of 20 | next ›
Discussion Overview
groupperl5-porters @
postedDec 11, '14 at 4:10p
activeFeb 6, '15 at 10:06a



site design / logo © 2021 Grokbase