summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-08-16 19:49:09 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-08-16 19:49:09 +0000
commit5779bbb1f597d1ebb4c7e5a72ad2a31cf4b91093 (patch)
tree2f4e2e4cbb1198159afa59bfc8d6529c21a44f1e /util.c
parentca24dfc6e670a1e3ff3c351be5646eb755ffa455 (diff)
parenta7c6d24429ab2b6db54575a3bdc62c7ed9f881cf (diff)
downloadperl-5779bbb1f597d1ebb4c7e5a72ad2a31cf4b91093.tar.gz
Integrate with Nick.
p4raw-id: //depot/cfgperl@3999
Diffstat (limited to 'util.c')
-rw-r--r--util.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/util.c b/util.c
index 2c349e25b0..36c9186b94 100644
--- a/util.c
+++ b/util.c
@@ -1491,7 +1491,11 @@ Perl_vdie(pTHX_ const char* pat, va_list *args)
PUSHMARK(SP);
XPUSHs(msg);
PUTBACK;
- call_sv((SV*)cv, G_DISCARD);
+ /* 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);
POPSTACK;
LEAVE;
}