diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-19 11:35:04 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-19 11:35:04 +0000 |
commit | 8a1d754612a72b241e1523ead8df1e8cc9484f9c (patch) | |
tree | bff8e2854169d31bc217175c200c8537ad1a718c /array.c | |
parent | e903bc4c888e9f892b0732f5fecdd5fb942ee33f (diff) |
merges r20839 from trunk into ruby_1_9_1.
* array.c (rb_ary_pop_m): use enum ary_take_pos_flags.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
-rw-r--r-- | array.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -743,7 +743,7 @@ rb_ary_pop_m(int argc, VALUE *argv, VALUE ary) } rb_ary_modify_check(ary); - result = ary_take_first_or_last(argc, argv, ary, Qtrue); + result = ary_take_first_or_last(argc, argv, ary, ARY_TAKE_LAST); ARY_INCREASE_LEN(ary, -RARRAY_LEN(result)); return result; } |