diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-01-24 12:15:43 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-01-24 12:15:43 +0000 |
commit | 8b73ab1881b775e12ace39efe757716ab526e9db (patch) | |
tree | 77e2507e7b3c3091aaf3ce80350563affb45ad0c /pp_ctl.c | |
parent | a28356daf92caa7f638e39190a3f2c5a3cd8acfe (diff) | |
download | perl-8b73ab1881b775e12ace39efe757716ab526e9db.tar.gz |
Avoid using cx->blk_loop.itermax when reverse iterating an array.
p4raw-id: //depot/perl@33060
Diffstat (limited to 'pp_ctl.c')
-rw-r--r-- | pp_ctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1918,7 +1918,7 @@ PP(pp_enteriter) } } else if (PL_op->op_private & OPpITER_REVERSED) { - cx->blk_loop.itermax = 0; + cx->blk_loop.itermax = 0xDEADBEEF; cx->blk_loop.iterix = AvFILL(cx->blk_loop.iterary) + 1; } |