Don't COW PVFMs, as the IVX is now used for FmLINES. (since change 34134)
Nicholas Clark [Sat, 28 Mar 2009 23:00:29 +0000 (23:00 +0000)]
sv.c

diff --git a/sv.c b/sv.c
index c92c89c..912f517 100644 (file)
--- a/sv.c
+++ b/sv.c
@@ -4074,7 +4074,7 @@ Perl_sv_setsv_flags(pTHX_ SV *dstr, register SV* sstr, const I32 flags)
             && ((flags & SV_COW_SHARED_HASH_KEYS)
                ? (!((sflags & CAN_COW_MASK) == CAN_COW_FLAGS
                     && (SvFLAGS(dstr) & CAN_COW_MASK) == CAN_COW_FLAGS
-                    && SvTYPE(sstr) >= SVt_PVIV))
+                    && SvTYPE(sstr) >= SVt_PVIV && SvTYPE(sstr) != SVt_PVFM))
                : 1)
 #endif
             ) {