This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
ss_dup of SAVEt_COP_ARYBASE can use the same code as SAVEt_I8.
authorNicholas Clark <nick@ccl4.org>
Sat, 8 Apr 2006 12:50:13 +0000 (12:50 +0000)
committerNicholas Clark <nick@ccl4.org>
Sat, 8 Apr 2006 12:50:13 +0000 (12:50 +0000)
p4raw-id: //depot/perl@27738

sv.c

diff --git a/sv.c b/sv.c
index 8c80e2c..9f5ea12 100644 (file)
--- a/sv.c
+++ b/sv.c
@@ -10428,6 +10428,7 @@ Perl_ss_dup(pTHX_ PerlInterpreter *proto_perl, CLONE_PARAMS* param)
        case SAVEt_I32:                         /* I32 reference */
        case SAVEt_I16:                         /* I16 reference */
        case SAVEt_I8:                          /* I8 reference */
+       case SAVEt_COP_ARYBASE:                 /* call CopARYBASE_set */
            ptr = POPPTR(ss,ix);
            TOPPTR(nss,ix) = any_dup(ptr, proto_perl);
            i = POPINT(ss,ix);