From: Hugo van der Sanden Date: Mon, 23 Dec 2002 06:01:17 +0000 (+0000) Subject: more on #18344. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b9609c016748169d47b94fc4dbf8db845fb4579c;p=p5sagit%2Fp5-mst-13.2.git more on #18344. p4raw-id: //depot/perl@18345 --- 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");