1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* array.c (rb_ary_each_index): should return meaningful value.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2007-11-06 18:36:49 +00:00
parent 23176da722
commit d9ebaef79b
2 changed files with 5 additions and 0 deletions

View file

@ -4,6 +4,10 @@ Wed Nov 7 03:32:38 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
nkf conversion. a patch from <moonwolf AT moonwolf.com>.
[ruby-dev:32183]
Wed Nov 7 02:59:49 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
* array.c (rb_ary_each_index): should return meaningful value.
Tue Nov 6 16:37:47 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval_load.c (loaded_feature_path): need to expand relative paths.

View file

@ -1193,6 +1193,7 @@ rb_ary_each_index(VALUE ary)
{
RETURN_ENUMERATOR(ary, 0, 0);
ITERATE(each_index_i, ary);
return ary;
}
static VALUE