summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-11-14 10:21:49 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-11-14 10:21:49 +0000
commited094fafab5cc8979a919ec8755493543b6bddf5 (patch)
treed3068544a31f301f4c4ebaa5c82faf19fe89c5dd /pp_sys.c
parentff689196a75c2757dfba08a8f95f0eb42fb81136 (diff)
downloadperl-ed094fafab5cc8979a919ec8755493543b6bddf5.tar.gz
sundry cleanups for cloned interpreters (only known failure mode
is due to regexps keeping non-constant data in their compiled structures) p4raw-id: //depot/perl@4579
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_sys.c b/pp_sys.c
index e4ec41ef03..b2495a06dc 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -475,7 +475,7 @@ PP(pp_die)
HV *stash = SvSTASH(SvRV(error));
GV *gv = gv_fetchmethod(stash, "PROPAGATE");
if (gv) {
- SV *file = sv_2mortal(newSVsv(CopFILESV(PL_curcop)));
+ SV *file = sv_2mortal(newSVpv(CopFILE(PL_curcop),0));
SV *line = sv_2mortal(newSViv(CopLINE(PL_curcop)));
EXTEND(SP, 3);
PUSHMARK(SP);