#18345 was still broken; should be fixed now.
authorHugo van der Sanden <hv@crypt.org>
Wed, 25 Dec 2002 02:29:17 +0000 (02:29 +0000)
committerhv <hv@crypt.org>
Wed, 25 Dec 2002 02:29:17 +0000 (02:29 +0000)
p4raw-id: //depot/perl@18351

sv.c

diff --git a/sv.c b/sv.c
index d390cbd..d8a8245 100644 (file)
--- a/sv.c
+++ b/sv.c
@@ -9746,6 +9746,8 @@ Perl_si_dup(pTHX_ PERL_SI *si, CLONE_PARAMS* param)
 #define TOPLONG(ss,ix) ((ss)[ix].any_long)
 #define POPIV(ss,ix)   ((ss)[--(ix)].any_iv)
 #define TOPIV(ss,ix)   ((ss)[ix].any_iv)
+#define POPBOOL(ss,ix) ((ss)[--(ix)].any_bool)
+#define TOPBOOL(ss,ix) ((ss)[ix].any_bool)
 #define POPPTR(ss,ix)  ((ss)[--(ix)].any_ptr)
 #define TOPPTR(ss,ix)  ((ss)[ix].any_ptr)
 #define POPDPTR(ss,ix) ((ss)[--(ix)].any_dptr)
@@ -10034,9 +10036,9 @@ Perl_ss_dup(pTHX_ PerlInterpreter *proto_perl, CLONE_PARAMS* param)
            TOPPTR(nss,ix) = sv_dup(sv, param);
            break;
        case SAVEt_BOOL:
-           ptr = POPPTR;
+           ptr = POPPTR(ss,ix);
            TOPPTR(nss,ix) = any_dup(ptr, proto_perl);
-           longval = (long)POPBOOL;
+           longval = (long)POPBOOL(ss,ix);
            TOPBOOL(nss,ix) = (bool)longval;
            break;
        default: