This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
hv.c: Stash-related UTF-8 cleanup.
authorBrian Fraser <fraserbn@gmail.com>
Sat, 23 Jul 2011 19:51:54 +0000 (16:51 -0300)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 6 Oct 2011 20:01:01 +0000 (13:01 -0700)
commit4643eb699312fbf71d4184f6fac9af209f2bfb50
tree3c3bfce0e5f24ce4dbc1881b0179d261b5cb8162
parent04f3bf56223811033be1a499c8cee8d78d256dea
hv.c: Stash-related UTF-8 cleanup.

This adds a new static function to hv.c, hek_eq_pvn_flags,
which replaces several memEQs.

It also cleans up hv_name_set and has the relevant calls
to hv_common and friends made UTF-8 aware.

Finally, it changes share_hek() to modify the hash passed
in if the pv was modified when downgrading.
hv.c