diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-04-16 16:51:08 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-04-16 16:51:08 +0000 |
commit | f180df804d1cde858e3e94db2f42efcc697d07d9 (patch) | |
tree | 57059df321dc566c4fb334953a3265cfeb2f679e /intrpvar.h | |
parent | cc0fca54a8335062a27e12be15bddf587362a0b0 (diff) | |
download | perl-f180df804d1cde858e3e94db2f42efcc697d07d9.tar.gz |
introduce illegal symbols into null package so that gv_fetchpv(...,TRUE)
always returns a valid GV even when the symbol is trapped by strictures
(avoids coredumps)
TODO: the C<package;> hack needs similar treatment
p4raw-id: //depot/perl@5908
Diffstat (limited to 'intrpvar.h')
-rw-r--r-- | intrpvar.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intrpvar.h b/intrpvar.h index 39d14c985e..8ed93f8fc9 100644 --- a/intrpvar.h +++ b/intrpvar.h @@ -443,3 +443,5 @@ PERLVAR(IProc, struct IPerlProc*) #if defined(USE_ITHREADS) PERLVAR(Iptr_table, PTR_TBL_t*) #endif + +PERLVAR(Inullstash, HV *) /* illegal symbols end up here */ |