On Wed May 06 06:24:44 2015, davem wrote: > If I am reading the code correctly, the "fix" in 7.05_08 is that > code page determination using chcp is deferred until until it is > needed > rather than unconditionally doing at startup time; so > > perl -MExtUtils::MakeMaker -e "0" > > no longer pollutes STDERR, but something that needs to know the code > page > still will. > > Anyway, as a quick fix for 5.22, could we simply stop MakeMaker > polluting > STDERR; e.g. in Locale.pm change > > qx(chcp) > > to > qx("chcp 2<&1") > > or whatever similar win32-specific thing works? 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. -- bulk88 ~ bulk88 at hotmail.com --- via perlbug: queue: perl5 status: open https://rt.perl.org/Ticket/Display.html?id=123998Thread Previous | Thread Next