This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix tr/// determination of inplace editing for EBCDIC
authorKarl Williamson <khw@cpan.org>
Mon, 25 May 2020 17:15:01 +0000 (11:15 -0600)
committerSawyer X <xsawyerx@cpan.org>
Wed, 27 May 2020 08:09:32 +0000 (11:09 +0300)
commit65a97d491a9a6a59c242ed7027d1a284cf7c8d6d
treecf1b5c30349c8c0eec986a6ec7ebdf40de3d9bcd
parente2d0e9a5d1dd29d4005ca9a3e73222eeabd9e2b7
Fix tr/// determination of inplace editing for EBCDIC

I realized as a result of fixing GH #17654, that the code didn't
properly decide if a tr/// can be done in-place on EBCDIC platforms.
Since we didn't have an EBCDIC smoker at the time, I couldn't be sure
that the fix actually worked.  Now that we do have a smoker, I have
successfully tested it.

This patch is constructed so that the code generated on non-EBCDIC
platforms should not be changed by it.
ebcdic_tables.h
op.c
regen/ebcdic.pl