From b9609c016748169d47b94fc4dbf8db845fb4579c Mon Sep 17 00:00:00 2001 From: Hugo van der Sanden Date: Mon, 23 Dec 2002 06:01:17 +0000 Subject: [PATCH] more on #18344. p4raw-id: //depot/perl@18345 --- sv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sv.c b/sv.c index d4a717a..d390cbd 100644 --- 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"); -- 2.7.4