summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-02-14 18:51:11 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-02-14 18:51:11 +0000
commitd4777f279225b24fa563b5d349bba036eebe5439 (patch)
treede166f70c529151de82b4d353f7a20585ff9677d /perl.c
parentd33b2eba4a0e814b78ec910034b3f6943f4805ac (diff)
downloadperl-d4777f279225b24fa563b5d349bba036eebe5439.tar.gz
avoid warnings
p4raw-id: //depot/perl@5085
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl.c b/perl.c
index f50cc2077d..b5fd06f513 100644
--- a/perl.c
+++ b/perl.c
@@ -611,7 +611,8 @@ perl_destruct(pTHXx)
SvFLAGS(PL_strtab) &= ~SVTYPEMASK;
SvFLAGS(PL_strtab) |= SVt_PVHV;
- SvREFCNT_dec(PL_fdpid); /* needed in io_close() */
+ AvREAL_off(PL_fdpid); /* no surviving entries */
+ SvREFCNT_dec(PL_fdpid); /* needed in io_close() */
PL_fdpid = Nullav;
/* Destruct the global string table. */