diff options
Diffstat (limited to 'hash.c')
-rw-r--r-- | hash.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -265,9 +265,15 @@ rb_hash_become(copy, orig) if (FL_TEST(orig, HASH_PROC_DEFAULT)) { FL_SET(copy, HASH_PROC_DEFAULT); } + else { + FL_UNSET(copy, HASH_PROC_DEFAULT); + } if (FL_TEST(orig, HASH_DELETED)) { FL_SET(copy, HASH_DELETED); } + else { + FL_UNSET(copy, HASH_DELETED); + } return copy; } |