more on #18344.
authorHugo van der Sanden <hv@crypt.org>
Mon, 23 Dec 2002 06:01:17 +0000 (06:01 +0000)
committerhv <hv@crypt.org>
Mon, 23 Dec 2002 06:01:17 +0000 (06:01 +0000)
p4raw-id: //depot/perl@18345

sv.c

diff --git a/sv.c b/sv.c
index d4a717a..d390cbd 100644 (file)
--- a/sv.c
+++ b/sv.c
@@ -10035,7 +10035,9 @@ Perl_ss_dup(pTHX_ PerlInterpreter *proto_perl, CLONE_PARAMS* param)
            break;
        case SAVEt_BOOL:
            ptr = POPPTR;
-           *(bool*)ptr = (bool)POPBOOL;
+           TOPPTR(nss,ix) = any_dup(ptr, proto_perl);
+           longval = (long)POPBOOL;
+           TOPBOOL(nss,ix) = (bool)longval;
            break;
        default:
            Perl_croak(aTHX_ "panic: ss_dup inconsistency");