ruby-changes:32359
From: nobu <ko1@a...>
Date: Thu, 26 Dec 2013 14:25:18 +0900 (JST)
Subject: [ruby-changes:32359] nobu:r44438 (trunk): hash.c: no extra states copy
nobu 2013-12-26 14:25:08 +0900 (Thu, 26 Dec 2013) New Revision: 44438 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44438 Log: hash.c: no extra states copy * hash.c (HASH_REJECT_COPY_EXTRA_STATES): turn off the old behavior, copying extra states by accident. Modified files: trunk/ChangeLog trunk/hash.c Index: ChangeLog =================================================================== --- ChangeLog (revision 44437) +++ ChangeLog (revision 44438) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Thu Dec 26 14:25:03 2013 Nobuyoshi Nakada <nobu@r...> + + * hash.c (HASH_REJECT_COPY_EXTRA_STATES): turn off the old + behavior, copying extra states by accident. + Thu Dec 26 10:49:14 2013 Yukihiro Matsumoto <matz@r...> * version.h (RUBY_VERSION): 2.2.0 development has started. Index: hash.c =================================================================== --- hash.c (revision 44437) +++ hash.c (revision 44438) @@ -31,7 +31,7 @@ https://github.com/ruby/ruby/blob/trunk/hash.c#L31 ((klass = has_extra_methods(rb_obj_class(hash))) != 0) || \ FL_TEST((hash), FL_EXIVAR|FL_TAINT|HASH_PROC_DEFAULT) || \ !NIL_P(RHASH_IFNONE(hash))) -#define HASH_REJECT_COPY_EXTRA_STATES 1 +#define HASH_REJECT_COPY_EXTRA_STATES 0 static VALUE has_extra_methods(VALUE klass) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/