Make _charnames comparison null-safe
authorFather Chrysostomos <sprout@cpan.org>
Thu, 7 Nov 2013 13:33:24 +0000 (05:33 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Fri, 8 Nov 2013 16:15:59 +0000 (08:15 -0800)
commit6a642c21192e08a710804b462f8c97902797d5b4
tree27b72711b29852a906f0134f3c962d52618b00c4
parenta96df643850d22bc4a943802c3dd142af0ab0057
Make _charnames comparison null-safe

This comparison in toke.c checks whether the charnames translators is
the core’s own and, if so, skips certain validation checks.

Charnames translators coming from any package beginning with
"_charnames\0" would also be exempt from the checks, because the name
comparison stopped at the first null.
t/re/pat_advanced.t
toke.c