summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-26 05:25:08 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-26 05:25:08 +0000
commit3a247f648913997c248c51c47a15fee08e5083f3 (patch)
treeada23a7a365cf4573840a791cf160fe4b317388f /hash.c
parent5265e6c0b9e842901dc54477fdcc44cfba38ea40 (diff)
hash.c: no extra states copy
* hash.c (HASH_REJECT_COPY_EXTRA_STATES): turn off the old behavior, copying extra states by accident. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hash.c b/hash.c
index db70939..004ee92 100644
--- a/hash.c
+++ b/hash.c
@@ -31,7 +31,7 @@
((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)