diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-10-14 17:47:35 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-10-14 17:47:35 +0000 |
commit | 0cdb207790df717da1f7d2136f6b268baceb3494 (patch) | |
tree | 7a3741814379bd5b2e20aea2f320153c646f75e1 /util.c | |
parent | 3e5d0dec1210692f67ee4d7c2687147c8f62f366 (diff) | |
download | perl-0cdb207790df717da1f7d2136f6b268baceb3494.tar.gz |
fix POPSTACK panics that ensued from bad interaction between
runlevels and stack of stacks (change#3988 done right);
basically, we pop the runlevel if the stacklevel is not the
same one we started the runlevel with
p4raw-link: @3988 on //depot/perl: a7c6d24429ab2b6db54575a3bdc62c7ed9f881cf
p4raw-id: //depot/perl@4376
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -1495,11 +1495,7 @@ Perl_vdie(pTHX_ const char* pat, va_list *args) PUSHMARK(SP); XPUSHs(msg); PUTBACK; - /* HACK - REVISIT - avoid CATCH_SET(TRUE) in call_sv() - or we come back here due to a JMPENV_JMP() and do - a POPSTACK - but die_where() will have already done - one as it unwound - NI-S 1999/08/14 */ - call_sv((SV*)cv, G_DISCARD|G_NOCATCH); + call_sv((SV*)cv, G_DISCARD); POPSTACK; LEAVE; } |