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

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

Thread Previous | Thread Next
Jan Dubois
August 11, 2009 01:42
RE: RE: 5.10.1-RC1 Test::Harness ruins @INC
Message ID:
On Tue, 11 Aug 2009, Sisyphus wrote:
> ----- Original Message -----
> From: "Jan Dubois" <>
> > Could you try the attached patch to see if it normalizes the Perl behavior
> > regarding $^X and @INC again?
> > +        GetLongPathNameW(modulename, modulename, sizeof(modulename)/sizeof(WCHAR));
> No good, I'm afraid.

Sorry, my bad.  Please replace all 3 occurances of "modulename" above with "fullname".


> I've just been told (on mingw-users list) that for this to work, we need to
> have:
> #define _WIN32_WINNT 0x0500

Ah yes, GetLongPathName() requires Windows 2000 or later, so it needs some
GetProcAddr() dance instead.  Or maybe we should discuss if there is any point
in trying to pretend that we still support Windows 9X.  And if we can drop 9X,
then I would like to drop NT as well. Nobody is running those systems anymore,
so I think it should be fine to say that Perl 5.10 is the last version that still
supports these obsolete versions.
> But ... after all that, @INC is still broken anyway (in the same way as before) !
> Back to square 1.

See above; please try one more time.

Sorry for the thinko!


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