diff options
author | Paul Marquess <paul.marquess@btinternet.com> | 1997-11-20 23:12:09 +0000 |
---|---|---|
committer | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1997-11-21 10:31:29 +0000 |
commit | ff2faa2b5a0809a5124aa90fc1d07503e49a73fb (patch) | |
tree | fdd4435574a903c08be4d579e8bb3d41a387fe51 /toke.c | |
parent | eb1cfdd6b0a7e7a6918084a3828c98f88804c32d (diff) | |
download | perl-ff2faa2b5a0809a5124aa90fc1d07503e49a73fb.tar.gz |
Filter patch to toke.c:
Subject: Tiny core patch for source filters
p4raw-id: //depot/perl@273
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1109,9 +1109,8 @@ filter_del(filter_t funcp) if (!rsfp_filters || AvFILL(rsfp_filters)<0) return; /* if filter is on top of stack (usual case) just pop it off */ - if (IoDIRP(FILTER_DATA(0)) == (void*)funcp){ - /* sv_free(av_pop(rsfp_filters)); */ - sv_free(av_shift(rsfp_filters)); + if (IoDIRP(FILTER_DATA(AvFILL(rsfp_filters))) == (void*)funcp){ + sv_free(av_pop(rsfp_filters)); return; } |