develooper Front page | perl.perl5.porters | Postings from May 2015

[perl #123998] blead's EUMM always fails tests on Win32 Perl on Win64

Thread Previous | Thread Next
From:
Tony Cook via RT
Date:
May 11, 2015 00:21
Subject:
[perl #123998] blead's EUMM always fails tests on Win32 Perl on Win64
Message ID:
rt-4.0.18-14381-1431303669-454.123998-15-0@perl.org
On Fri May 08 16:57:16 2015, bulk88 wrote:
> I did that in the attached patch. t/porting/utils.t also needs git in
> %PATH% to fail on win32, since if there is no working git, the whole
> file is skipped, and I dont always keep git in my %PATH% on win32.
> 
> I dont personally like the idea of sending the error to null and I
> dont like the patch I wrote, since whatever info ("active code page")
> is collected will be wrong with no warning for EUMM users. IDK enough
> to say if having the wrong infp makes a difference in the end or not.

With your patch it will fallback to the default, cp1252.

For blead's purposes, sufficiently recent releases of Win32.pm include
GetACP(), GetConsoleCP() and GetConsoleOutputCP() which means blead could
skip calling chcp completely.

Tony

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=123998

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