diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-10-25 04:35:07 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-10-25 04:35:07 +0000 |
commit | b9d12d37e2ae2c5ceee42d544260d4d6703f71e8 (patch) | |
tree | 21fddc7351f119e78c716f1be9dcc0b49b83d072 /pp_ctl.c | |
parent | d931506569a96775e3023a9788567281463988c6 (diff) | |
download | perl-b9d12d37e2ae2c5ceee42d544260d4d6703f71e8.tar.gz |
properly restore PL_rsfp_filters after require
p4raw-id: //depot/perl@2051
Diffstat (limited to 'pp_ctl.c')
-rw-r--r-- | pp_ctl.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -2697,10 +2697,8 @@ PP(pp_require) ENTER; SAVETMPS; lex_start(sv_2mortal(newSVpv("",0))); - if (PL_rsfp_filters){ - save_aptr(&PL_rsfp_filters); - PL_rsfp_filters = NULL; - } + SAVEGENERICSV(PL_rsfp_filters); + PL_rsfp_filters = Nullav; PL_rsfp = tryrsfp; name = savepv(name); |