[ 29832]
Avoid a SEGV in DBI's test suite, discovered by Andreas.
Probably need to go through and audit to see if there are analagous
places that need tweaking.
p4raw-link: @29832 on //depot/maint-5.8/perl:
42a5fb548791baca026f93036e91df33f2efb5be
p4raw-id: //depot/perl@30240
p4raw-integrated: from //depot/maint-5.8/perl@29832 'merge in' perl.c
(@29809..)
{
dVAR;
SV *atsv;
- const line_t oldline = CopLINE(PL_curcop);
+ const line_t oldline = PL_curcop ? CopLINE(PL_curcop) : 0;
CV *cv;
STRLEN len;
int ret;