develooper Front page | perl.perl5.porters | Postings from August 2009

RE: 5.10.1-RC1 Test::Harness ruins @INC

Thread Previous | Thread Next
Jan Dubois
August 11, 2009 15:32
RE: 5.10.1-RC1 Test::Harness ruins @INC
Message ID:
On Tue, 11 Aug 2009, Dave Mitchell wrote:
> On Tue, Aug 11, 2009 at 02:37:50PM +0100, Andy Armstrong wrote:
> > On 10 Aug 2009, at 10:05, wrote:
> >>> Could you try the
> >>> fix I mention in the bug report and check if the missing entries will
> >>> reappear if the full path for $^X isn't mangled?
> >>
> >> Damn - I've been looking at that mangling of $^X a few times, as it's
> >> the only place that GetShortPathName() is called within the Test and
> >> TAP trees ... but I was too stupid to think of commenting out that line
> >> just to see what difference it makes :-(
> >
> > Sorry that I'm arriving late at this thread. I'll apply the appropriate
> > fix to Test::Harness.
> Is that something that can or needs to be in 5.10.1 ?

If you are going to apply the change I'm going to commit to blead later, then
it doesn't matter anymore because Perl will auto-correct $^X and @INC
on startup. This change to win32/win32.c is more comprehensive because
it will cover not just Test-Harness, but any use case where Perl is invoked
with a (mangled) short pathname.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About