Skip to content

Commit

Permalink
merge revision(s) r44720: [Backport #9455]
Browse files Browse the repository at this point in the history
	* compile.c (iseq_build_from_ary_body): Use :blockptr instead of :block
	  as hash key when loading serialized instruction sequences from arrays.
	  [Bug #9455] [ruby-core:60146]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@45106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nagachika committed Feb 22, 2014
1 parent 977b723 commit 379dace
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Sat Feb 22 13:56:38 2014 Charlie Somerville <charliesome@ruby-lang.org>

* compile.c (iseq_build_from_ary_body): Use :blockptr instead of :block
as hash key when loading serialized instruction sequences from arrays.
[Bug #9455] [ruby-core:60146]

Sat Feb 22 13:04:54 2014 Shugo Maeda <shugo@ruby-lang.org>

* ext/socket/init.c (wait_connectable): break if the socket is
Expand Down
2 changes: 1 addition & 1 deletion compile.c
Original file line number Diff line number Diff line change
Expand Up @@ -5701,7 +5701,7 @@ iseq_build_from_ary_body(rb_iseq_t *iseq, LINK_ANCHOR *anchor,
VALUE vmid = rb_hash_aref(op, ID2SYM(rb_intern("mid")));
VALUE vflag = rb_hash_aref(op, ID2SYM(rb_intern("flag")));
VALUE vorig_argc = rb_hash_aref(op, ID2SYM(rb_intern("orig_argc")));
VALUE vblock = rb_hash_aref(op, ID2SYM(rb_intern("block")));
VALUE vblock = rb_hash_aref(op, ID2SYM(rb_intern("blockptr")));

if (!NIL_P(vmid)) mid = SYM2ID(vmid);
if (!NIL_P(vflag)) flag = NUM2ULONG(vflag);
Expand Down
2 changes: 1 addition & 1 deletion version.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#define RUBY_VERSION "2.0.0"
#define RUBY_RELEASE_DATE "2014-02-22"
#define RUBY_PATCHLEVEL 447
#define RUBY_PATCHLEVEL 448

#define RUBY_RELEASE_YEAR 2014
#define RUBY_RELEASE_MONTH 2
Expand Down

0 comments on commit 379dace

Please sign in to comment.