gv.c: gv_name_set and gv_init_(etc) now initialize the GV's name as UTF-8 if passed...
authorBrian Fraser <fraserbn@gmail.com>
Tue, 5 Jul 2011 10:00:02 +0000 (07:00 -0300)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 6 Oct 2011 20:01:01 +0000 (13:01 -0700)
commit04f3bf56223811033be1a499c8cee8d78d256dea
tree936b999010fabbf718c4c62a467abb2f612e5433
parentbc1c56e9ff3236b7b36e9c6b40be78049dc44505
gv.c: gv_name_set and gv_init_(etc) now initialize the GV's name as UTF-8 if passed the UTF8 flag.

newCONSTSUB is still unclean however, so constant subs are
still generated under a wrong name.

gv_fullname4 is also UTF-8 aware now; While that should've gotten
it's own commit and tests, it's not possible to test the
UTF-8 part without the gv_init changes, and it's not possible
to test the gv_init changes without gv_fullname4.
Chicken and egg, as it were. So let's compromise and
wait for the relevant tests once globs can be intiialized as
UTF-8 from the Perl level without XS magic.
ext/XS-APItest/t/gv_init.t
gv.c