This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
change#4970 fallout for useithreads
authorGurusamy Sarathy <gsar@cpan.org>
Fri, 4 Feb 2000 21:40:08 +0000 (21:40 +0000)
committerGurusamy Sarathy <gsar@cpan.org>
Fri, 4 Feb 2000 21:40:08 +0000 (21:40 +0000)
p4raw-link: @4970 on //depot/perl: 354992b151c6d0f4f02b9e65e8ba749a959e700d

p4raw-id: //depot/perl@4997

sv.c

diff --git a/sv.c b/sv.c
index 617d9a6..94fbced 100644 (file)
--- a/sv.c
+++ b/sv.c
@@ -7149,6 +7149,10 @@ Perl_ss_dup(pTHX_ PerlInterpreter *proto_perl)
            i = POPINT(ss,ix);
            TOPINT(nss,ix) = i;
            break;
+       case SAVEt_COMPPAD:
+           av = (AV*)POPPTR(ss,ix);
+           TOPPTR(nss,ix) = av_dup(av);
+           break;
        default:
            Perl_croak(aTHX_ "panic: ss_dup inconsistency");
        }