This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
$^E should have same handling as $! for Win32 and OS/2
authorKarl Williamson <public@khwilliamson.com>
Thu, 17 Oct 2013 03:21:52 +0000 (21:21 -0600)
committerKarl Williamson <public@khwilliamson.com>
Wed, 27 Nov 2013 04:03:40 +0000 (21:03 -0700)
commit99461a735b1477d9f175ff3696b07e9c18fb5e34
treefbae7e9d6f41c843da72569a69c87bd4e81b7863
parentd9fe7d23bdbf0c9aeef4f48ea4e0c277e6c504d8
$^E should have same handling as $! for Win32 and OS/2

Commit 1500bd919ffeae0f3252f8d1bb28b03b043d328e changed the handling of
$! to look for UTF-8 messages.  This issue is also present in Win32 for
$^E.  The two should have uniform treatment, so this commit causes the
actual same code to be executed for both.  OS/2 is also subject to
locale issues, and so it also is changed here to use the same code, so
that future changes will apply to it automatically.

VMS doesn't use locales, so it retains its current behavior.

Note that 1500bd919 has created some field problems, so that the changes
it introduced will be further changed or reverted.  The current commit
just makes sure that whatever those further changes are will be
automatically propagated to all necessary platforms.
mg.c