diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-05-14 15:20:58 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-05-14 15:20:58 +0000 |
commit | 357c88086d7fbc4a100250293365f8373201add6 (patch) | |
tree | 6d6f81aa7a40e399858344bd6b6bf14d262a18d2 /mg.c | |
parent | 03739d21c9232cc6b91282bb1936392275192e80 (diff) | |
download | perl-357c88086d7fbc4a100250293365f8373201add6.tar.gz |
Integrate change #10100 from maintperl.
PL_last_in_gv may not be a GV if it was a stale filehandle (fix for
bug ID 20010514.027)
p4raw-link: @10100 on //depot/maint-5.6/perl: 5244397c028305e17ca4ad7e80cf900323dbeb8b
p4raw-id: //depot/perl@10103
p4raw-integrated: from //depot/maint-5.6/perl@10102 'merge in' mg.c
(@9288..) pp_ctl.c (@9584..)
Diffstat (limited to 'mg.c')
-rw-r--r-- | mg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -674,7 +674,7 @@ Perl_magic_get(pTHX_ SV *sv, MAGIC *mg) case '.': #ifndef lint if (GvIO(PL_last_in_gv)) { - sv_setiv(sv, (IV)IoLINES(GvIO(PL_last_in_gv))); + sv_setiv(sv, (IV)IoLINES(GvIOp(PL_last_in_gv))); } #endif break; |