[perl #121255] Call set-magic when setting $DB::sub
authorFather Chrysostomos <sprout@cpan.org>
Sun, 16 Feb 2014 20:43:42 +0000 (12:43 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 16 Feb 2014 21:06:31 +0000 (13:06 -0800)
commit90a04aed2328e6eb9574bec97888e5929ede257d
treef3ccc13f1aa3f8ff9d6e87ec988a170ddcd83d10
parentbfb2a8f90476eee2c32387320b53f4f8aeead825
[perl #121255] Call set-magic when setting $DB::sub

Otherwise UTF8 length caches will not be reset, resulting in panicks
when ${^UTF8CACHE} is -1 or wrongs answers from length($DB::sub) when
${^UTF8CACHE} is 1.
t/run/switchd.t
util.c