diff options
author | Jan Dubois <jand@activestate.com> | 2010-08-19 18:43:59 -0700 |
---|---|---|
committer | Jan Dubois <jand@activestate.com> | 2010-08-19 18:45:57 -0700 |
commit | 1b0124a7c19a5499714e57a00a3d30b2f2647b1f (patch) | |
tree | 42654f31b7c7f8348f69243c8e071188eb64dd2d /scope.h | |
parent | 63cf24924effea6eabe5e1216348eea653365fda (diff) | |
download | perl-1b0124a7c19a5499714e57a00a3d30b2f2647b1f.tar.gz |
Fix stack corruption by unsupported filetests
Commit c410dd6ad7 indiscriminately pops elements from the stack
even when nothing has been pushed: file tests without arguments
(testing $_) and stacked filetests don't have anything on the
stack that needs to be removed.
The general idea is that we need to have the same side effects
as if we had called my_stat_flags(), so we shall only call POPs
under the same conditions as the code in my_stat_flags().
Diffstat (limited to 'scope.h')
0 files changed, 0 insertions, 0 deletions