mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02: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:
parent
23176da722
commit
d9ebaef79b
2 changed files with 5 additions and 0 deletions
|
@ -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>.
|
nkf conversion. a patch from <moonwolf AT moonwolf.com>.
|
||||||
[ruby-dev:32183]
|
[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>
|
Tue Nov 6 16:37:47 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* eval_load.c (loaded_feature_path): need to expand relative paths.
|
* eval_load.c (loaded_feature_path): need to expand relative paths.
|
||||||
|
|
1
array.c
1
array.c
|
@ -1193,6 +1193,7 @@ rb_ary_each_index(VALUE ary)
|
||||||
{
|
{
|
||||||
RETURN_ENUMERATOR(ary, 0, 0);
|
RETURN_ENUMERATOR(ary, 0, 0);
|
||||||
ITERATE(each_index_i, ary);
|
ITERATE(each_index_i, ary);
|
||||||
|
return ary;
|
||||||
}
|
}
|
||||||
|
|
||||||
static VALUE
|
static VALUE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue