Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge from ruby_1_8.

git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@16721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
commit ada0022cb19f72fbf13ca90c0cfedd1c31b0dc9b 1 parent 5376e8a
Akinori MUSHA knu authored
Showing with 6 additions and 0 deletions.
  1. +5 −0 ChangeLog
  2. +1 −0  array.c
5 ChangeLog
View
@@ -1,3 +1,8 @@
+Sat May 31 20:56:04 2008 Akinori MUSHA <knu@iDaemons.org>
+
+ * array.c (rb_ary_delete_if): should return enumerator if no block
+ is given. [ruby-dev:34901]
+
Sat May 31 18:28:17 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* suppress warnings with -Wwrite-string.
1  array.c
View
@@ -2185,6 +2185,7 @@ static VALUE
rb_ary_delete_if(ary)
VALUE ary;
{
+ RETURN_ENUMERATOR(ary, 0, 0);
rb_ary_reject_bang(ary);
return ary;
}
Please sign in to comment.
Something went wrong with that request. Please try again.