This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Move utf8ness calc for $! into locale.c from mg.c
authorKarl Williamson <khw@cpan.org>
Tue, 2 Mar 2021 11:29:08 +0000 (04:29 -0700)
committerKarl Williamson <khw@cpan.org>
Fri, 2 Sep 2022 19:21:24 +0000 (13:21 -0600)
commitc728a1a6206bcd35a013b6b78f60bdc1adf5bfa2
tree43c6b3e85b3065ddc8b06ee50223a1825db543d0
parentcb5c690da676cf4043cf4ff7c29cb6db6bdb1634
Move utf8ness calc for $! into locale.c from mg.c

locale.c has the infrastructure to handle this, so remove repeated
logic.

The removed code tried to discern better based on using script runs, but
this actually doesn't help, so is removed.

Since we're now using C99, we can remove the block that was previously
needed, and now the code is properly indented, whereas before it wasn't
embed.fnc
embed.h
locale.c
makedef.pl
mg.c
proto.h