diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-08-09 17:53:48 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-08-09 17:53:48 +0000 |
commit | 2aea9f8a7ec940891eef705f344a93a3b76154a2 (patch) | |
tree | f75e819e338488fc981af8991f130c70eb682b48 /perl.c | |
parent | e4050d2591f230e8d00bb5370c5549e7398a5d99 (diff) | |
download | perl-2aea9f8a7ec940891eef705f344a93a3b76154a2.tar.gz |
fix coredump with MULTIPLICITY (ckWARN() needs early curcop init)
p4raw-id: //depot/perl@1776
Diffstat (limited to 'perl.c')
-rw-r--r-- | perl.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -141,6 +141,8 @@ perl_construct(register PerlInterpreter *sv_interp) thr = init_main_thread(); #endif /* USE_THREADS */ + PL_curcop = &PL_compiling; /* needed by ckWARN, right away */ + PL_linestr = NEWSV(65,79); sv_upgrade(PL_linestr,SVt_PVIV); |