develooper Front page | perl.perl5.porters | Postings from February 2011

RE: t/op/magic.t threaded win32 (was Re: Smoke [blead] v5.13.10-52-g5001101 FAIL(F) MSWin32 Win2000 SP4 (x86/1 cpu))

Thread Previous | Thread Next
From:
Jan Dubois
Date:
February 23, 2011 08:45
Subject:
RE: t/op/magic.t threaded win32 (was Re: Smoke [blead] v5.13.10-52-g5001101 FAIL(F) MSWin32 Win2000 SP4 (x86/1 cpu))
Message ID:
00da01cbd379$04372ee0$0ca58ca0$@activestate.com
On Wed, 23 Feb 2011, Nicholas Clark wrote:
> On Wed, Feb 23, 2011 at 10:50:09AM -0500, George Greer wrote:
> > On Wed, 23 Feb 2011, George Greer wrote:
> >
> > > One of the prior tests blows away %ENV.
> >
> > Turns out two of them do. My goto was after the END{} block at the
> > top so both were skipped when I put the label after the CASELESS
> > check.
> >
> > Skipping the second %ENV clear without also skipping the first
> > causes: http://support.microsoft.com/kb/922279
>
> Would the attached patch fix it? It passes on Linux.

You can't spawn a new process on Windows unless the system directory
is still on the PATH.  See also:

    http://perl5.git.perl.org/perl.git/commitdiff/d4456f89

Cheers,
-Jan



Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About