[Jifty-commit] r5349 - B

Jifty commits jifty-commit at lists.jifty.org
Thu May 1 05:29:39 EDT 2008


Author: nothingmuch
Date: Thu May  1 05:29:36 2008
New Revision: 5349

Modified:
   B/B.xs

Log:
copy the XPVCV instead of *SV

Modified: B/B.xs
==============================================================================
--- B/B.xs	(original)
+++ B/B.xs	Thu May  1 05:29:36 2008
@@ -1757,7 +1757,7 @@
     CODE:
        new = (CV *)newSV(0);
        sv_upgrade((SV *)new, SvTYPE(cv));
-       *new = *cv;
+       (*(XPVCV*)SvANY(new)) = (*(XPVCV*)SvANY(cv));
        CvROOT(new) = root;
        CvSTART(new) = start;
        RETVAL = new;


More information about the Jifty-commit mailing list