This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Make Unicode data structures global
authorKarl Williamson <khw@cpan.org>
Wed, 14 Mar 2018 03:52:15 +0000 (21:52 -0600)
committerKarl Williamson <khw@cpan.org>
Wed, 14 Mar 2018 15:35:35 +0000 (09:35 -0600)
commit744ebf52f3e4ca5e41d9ce8bc68e10cae14592a0
tree2a41d4ff70b04876f40f0e5b442f470465b5c476
parent32a62865ef662fce2b2250a7e0eca15861e7fe20
Make Unicode data structures global

These structures are read-only, use const C strings, and are truly
global, so no need to have them be interpreter level.  This saves
duplicating and freeing them as threads come and go.

In doing this, I noticed that not every one was properly being
copied/deallocated, so this fixes some potential unreported bugs, and
leaks.
embedvar.h
intrpvar.h
perl.c
perlapi.h
perlvars.h
sv.c