Subject: | _NT_cwd under core/miniperl causes 'cd"' is not recognized as an internal or external command, |
bleadperl (5.11) _os2_cwd erroneously gets called and triggers
'cd"' is not recognized as an internal or external command,
operable program or batch file.
you can duplicate manually with
..\miniperl -le " print `cmd /c cd`"
..\perl -le " print `cmd /c cd`"
this isn't triggered on perl 5.6/5.8/5.10
its because miniperl doesn't have dynaloader, so it doesn't define
Win32, so _os2_cwd gets called by mistake
to fix replace
*_NT_cwd = defined &Win32::GetCwd ? \&_win32_cwd : \&_os2_cwd;
with
*_NT_cwd = $^O eq 'os2' ? \&_os2_cwd : \&_win32_cwd ;
Crossfiled at
http://rt.perl.org/rt3//Public/Bug/Display.html?id=51562