In Perl_reg_temp_copy(), ensure SvMAGIC() is NULL in the new REGEXP.
authorNicholas Clark <nick@ccl4.org>
Thu, 18 Feb 2010 15:23:49 +0000 (15:23 +0000)
committerNicholas Clark <nick@ccl4.org>
Thu, 18 Feb 2010 15:34:21 +0000 (15:34 +0000)
commit703c388dcb4a811f77272cdb5e507d0bbc23dca7
treebb79bd6ae5c3ace6a95dd7b7ba49c9bcb29f34ea
parent4d5229574fc575d9cb2e20434e81d0d371b1f54a
In Perl_reg_temp_copy(), ensure SvMAGIC() is NULL in the new REGEXP.

Change c2123ae380a372d5 exposed the fact that Perl_reg_temp_copy() didn't
reset SvMAGIC() to NULL after block copying the "parent" regexp. The analagous
problem with SvSTASH() was fixed with change b9ad13acb338e137.
regcomp.c